hashmat00
-
Featured
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 » -
Featured
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 » -
Scripts
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 » -
Featured
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 » -
Featured
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 » -
Azure
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 » -
Scripts
Fix No Client state – SCCM
get-service ccmexec | stop-service -Force (Get-WmiObject Win32_Service -Filter "Name=’CcmExec’").StopService() Get-WmiObject win32_service -ComputerName ca1connect02 | Where-Object {$_.name -eq "ccmexec"} | Stop-Service…
Read More » -
Intune
Microsoft Endpoint Manager: Windows Autopilot
Microsoft Endpoint Manager: Windows Autopilot This solution helps Organizations to setup and Pre-configure new devices and ready to be shipped…
Read More »
