Intune Initial Scripts Backup
This commit is contained in:
12
dump/Reboot-Notification-Dialog.ps1
Normal file
12
dump/Reboot-Notification-Dialog.ps1
Normal file
@@ -0,0 +1,12 @@
|
||||
$computer = "dfnp002"
|
||||
$namespace = "ROOT\ccm\Policy\Machine\ActualConfig"
|
||||
$classname = "CCM_RebootSettings"
|
||||
|
||||
Write-Output "====================================="
|
||||
Write-Output "COMPUTER : $computer "
|
||||
Write-Output "CLASS : $classname "
|
||||
Write-Output "====================================="
|
||||
|
||||
Get-WmiObject -Class $classname -ComputerName $computer -Namespace $namespace |
|
||||
Select-Object * -ExcludeProperty PSComputerName, Scope, Path, Options, ClassPath, Properties, SystemProperties, Qualifiers, Site, Container |
|
||||
Format-List -Property [a-z]*
|
||||
Reference in New Issue
Block a user