Logins may be showing incorrect profile information. Please email psgadmin at microsoft.com for support.
Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
TSDate
0.0.2
Public/Get-Weeks.ps1
function
Get-Weeks
{
[
CmdletBinding
(
SupportsShouldProcess
)
]
Param
(
[
Parameter
(
Mandatory
,
ValueFromPipeline
)
]
[object]
$Month
)
process
{
for
(
$i
=
1
;
$i
-le
5
;
$i
++
)
{
$Month
.
"Week $i"
}
}
}