Scripts
-
SCCM Primary Site Missing Boundaries – Alert
Use this script to create a task schedule to alert when there is new boundaries discovered in SCCM Primary site.…
Read More » -
Capture Screen PS Script
Use this script to capture screenshot of remote machine desktop if needed $Path = "C:\ScreenCapture" # Make sure that the…
Read More » -
Clean SCCM Primary Site IIS Logs
$logs = Get-ChildItem -Path C:\inetpub\logs -Recurse -Filter *.log $oldest = (get-date).AddDays(-30) foreach($log in $logs){ if($log.LastWriteTime -lt $oldest){ $log.Delete() } }…
Read More » -
sccm client boundary group validation
Use this script to find remote machines sccm client has associate to any boundary group $dpservers = Get-Content "C:\test\dpservers.txt" foreach($dp…
Read More » -
Get Pending Reboot – remote machine
Use following scripts to find status of remote machine pending reboot Function Get-PendingRebootStatus { [CmdletBinding()] Param ( [Parameter( Mandatory =…
Read More » -
Remove & Clean SCCM CLient
This script will stop sccm service, uninstall , clean registry and remove folders # Attempt to run the SCCM uninstaller…
Read More » -
Find DotNet Version
Use this simple Powershell command script to find your DotNet version installed on your machine Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP'…
Read More » -
Get Date of certification expiration User/machine
How to retrieve expiration date of specified certificate for user and machine. <# .SYNOPSIS This script to provide user/machine…
Read More » -
Get List of Users from Azure DevOps Organization
Retrieve total number and username of users from Azure DevOps Organization. <# .SYNOPSIS This script to get list of users/usersname…
Read More »