Find groups whith 'managedby' attribute set to disabled
Get-QADGroup -SizeLimit 0 -ManagedBy * | Where-Object { (Get-QADUser $_.ManagedBy).AccountIsDisabled }
View ArticleQuery for services configured to run as Administrator
Sometimes admins get lazy and configure service accounts to run as Administrator. It's simple, easy and guaranteed to work. This poses all kinds of issues. So here's a script that will query AD for any...
View ArticleMonitor single Website
$webClient = new-object System.Net.WebClient$webClient.Headers.Add("user-agent", "PowerShell Script")while (1 -eq 1) { $output = "" $startTime = get-date $output = $webClient.DownloadString("your...
View ArticleCreating an Opalis Policy
Rodney Buike aka The Lazy Admin posted a screenshot session that shows how you can create an Opalis policy.
View ArticleZero Touch Implementation with Configuration Manager 2007 R3
One of the most important challenges that an organization can face is deploying or migrating operating systems to a bunch of computers.In SCCM this process is known as Zero Touch Implementation...
View ArticleDon's 18.8-minute PowerShell Crash Course
Want to learn PowerShell? Don Jones created a crash course that will help you on your way. PS Dir -recurse!
View ArticleHow to Install PowerShell on Windows Server 2003
Dan Stolts posted an article that teaches you how to add PowerShell v2 and enable Remote PowerShell Management on Windows Server 2003. You can read it here.
View ArticleLocate rogue printers
SELECT Distinct SYS.Netbios_Name0, PRT.Name0, PRT.ShareName0, PRT.DriverName0, PRT.DeviceID0, PRT.PortName0 FROM v_R_System SYS JOIN v_GS_PRINTER_DEVICE PRTon SYS.ResourceID = PRT.ResourceIDWHERE...
View ArticleReturn detailed user and machine information from a specified collection
Replace {CollectionName} with the name of the collection to query.Select SD.Name0 'Machine Name', SD.Resource_Domain_OR_Workgr0 'Resource Domain', SD.User_Name0 'Login ID', SD.User_Domain0 'Account...
View ArticleAutomated check for SCOM alerts
Schedule this script in the SCOM RMS server.PS: a SCOM group is required to include all servers in the scope (in this case, all production servers from the particular domain).
View ArticleOIS - Integration Pack for PowerShell Script Execution
The Integration Pack for PowerShell Script Execution provides extended PowerShell Scripting capability for Opalis and PowerShell by adding the Execute PS Script and Execute PS Script – Global objects...
View ArticleHow to pimp up your Windbg Workspace
This is how my debugging environment looks like now:In case you wonder how to do this, go here. Thanks to Tess.
View ArticleUnattended Linux VM Configuration Tool for Hyper-V
What you can do with “Set-LinuxVM”:1) Unattended IP, Hostname and DNS configuration for Linux VMs.2) Automatic Linux integration components installation.3) Support for Debian, Ubuntu, Centos, Fedora,...
View ArticlePowerShell learning made easy
What about this interactive PowerShell tutorial created with PowerShell using WPF and PowerBoots?
View ArticleCertify on Memory Dump Analysis
Memory Dump Analysis Services has announced the development of the first Memory Dump Analysis Cert and is looking for volunteers to participate in its beta program. Visit this site for further details.
View Article