Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
PSMotd
0.1.0
Private/Write-LastMOTDDate.ps1
function
Write-LastMOTDDate
{
[
CmdletBinding
(
)
]
[
OutputType
(
[void]
)
]
Param
(
)
$filePath
=
Get-LastMOTDDateFile
[System.IO.File]
::
WriteAllText
(
$filePath
,
$(
Get-Date
)
.
ToString
(
)
)
}