This commit is contained in:
Felix Pankratz 2025-01-20 14:10:20 +01:00
parent d49735f009
commit 07336c088f
2 changed files with 8 additions and 0 deletions

View File

@ -16,3 +16,8 @@
# submit CSR to CA
`certreq -submit -attrib "CertificateTemplate:Webserver Version3" docs_req.req`
# sort users by last logon
`get-aduser -filter 'enabled -eq "true"' -properties lastlogontimestamp | Select samaccountname, @{Name="lastLogontimestamp";Expression={[datetime]::FromFileTime($_.'lastLogontimestamp')}} | sort-object -property 'lastLogontimestamp' `
# check CRL
`certutil -URL "http://ca.contoso.com/CertEnroll/contoso ca01.crl"`

View File

@ -15,3 +15,6 @@
# get mailbox folder statistics
`Get-MailboxFolderStatistics gemma.odena@auma.com | Select Name,FolderSize,ItemsinFolder`
# grant sendas on shared mailbox to cloud user (hybrid)
`Set-Mailbox -Identity shared_box@contoso.com -GrantSendonBehalfTo user.name@contoso.com`