Skip to content

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jazuntee committed Feb 23, 2023
1 parent 6b92f7c commit 06a7fb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Get-MsIdGroupWithExpiration.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
Return groups with an expiration date via lifecycle policy.
.EXAMPLE
PS > Get-MsIdGroupWithExpiration | Select-Object Id,DisplayName,ExpirationDateTime,RenewedDateTime
PS > Get-MsIdGroupWithExpiration | ft Id,DisplayName,ExpirationDateTime,RenewedDateTime
Return all groups with an expiration date.
.EXAMPLE
PS > Get-MsIdGroupWithExpiration -After (Get-Date).AddDays(-30) -Before (Get-Date).AddDays(30) | Select-Object Id,DisplayName,ExpirationDateTime,RenewedDateTime
PS > Get-MsIdGroupWithExpiration -After (Get-Date).AddDays(-30) -Before (Get-Date).AddDays(30) | ft Id,DisplayName,ExpirationDateTime,RenewedDateTime
Return all groups with an expiration date between 30 days before today and 30 days after today.
.EXAMPLE
PS > Get-MsIdGroupWithExpiration -Days 30 | Select-Object Id,DisplayName,ExpirationDateTime,RenewedDateTime
PS > Get-MsIdGroupWithExpiration -Days 30 | ft Id,DisplayName,ExpirationDateTime,RenewedDateTime
Return all groups with an expiration date between now and 30 days from now.
Expand Down

0 comments on commit 06a7fb9

Please sign in to comment.