Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
PSMotd
0.2.0
Private/Write-LastMOTDDate.ps1
function
Write-LastMOTDDate
{
[
CmdletBinding
(
)
]
[
OutputType
(
[void]
)
]
Param
(
)
$config
=
Get-MOTDConfig
$config
.
LastMOTDWrite
=
[datetime]
::
Now
$config
|
Export-Configuration
}