mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-07-26 11:49:17 +00:00
examples added
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force
|
||||||
|
|
||||||
|
$Output = Invoke-GPOZaurrContent -Verbose -GPOName 'Default Domain Policy'
|
||||||
|
$Output | Format-Table
|
||||||
|
|
||||||
|
<#
|
||||||
|
# You need PSWriteOffice for that
|
||||||
|
foreach ($Key in $Output.Keys) {
|
||||||
|
$Output[$Key] | Export-OfficeExcel -FilePath $Env:USERPROFILE\Desktop\GPOAnalysis.xlsx -WorkSheetName $Key
|
||||||
|
}
|
||||||
|
|
||||||
|
Invoke-GPOZaurr -Type GPOAnalysis -GPOName 'ALL | Allow use of biometrics', 'ALL | Enable RDP' -GPOGUID '{31B2F340-016D-11D2-945F-00C04FB984F9}' -IncludeDomains 'ad.evotec.xyz' -Verbose
|
||||||
|
|
||||||
|
#>
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force
|
||||||
|
|
||||||
|
# search by guid or name for specific GPOs
|
||||||
|
#Get-GPOZaurrMissingFiles -GPOGUID '{2F326111-C21B-4892-B7BC-9BDCB201FFCC}' | Format-Table
|
||||||
|
|
||||||
|
# search for all GPOs with missing files
|
||||||
|
#Get-GPOZaurrMissingFiles -BrokenOnly | Format-Table
|
||||||
|
|
||||||
|
# search for all GPOs with missing files for everythin
|
||||||
|
Invoke-GPOZaurr -Type GPOBrokenPartially #, GPOBroken, GPOBrokenLink
|
||||||
Reference in New Issue
Block a user