| Title | Author | Age | Description |
|---|---|---|---|
| sudo for Powershell | pezhore | Tue, 25 May 2010 09:54:07 | Updated from other people’s attempts. Useful for calling programs (notepad.exe, etc) or for running powershell scripts in an elevated prompt (use the -ps flag) |
| sudo for Powershell | pezhore | Tue, 25 May 2010 09:53:21 | Updated from other people’s attempts. Useful for calling programs (notepad.exe, etc) or for running powershell scripts in an elevated prompt (use the -ps flag) |
| sudo for Powershell | pezhore | Tue, 25 May 2010 09:52:28 | Updated from other people’s attempts. Useful for calling programs (notepad.exe, etc) or for running powershell scripts in an elevated prompt (use the -ps flag) |
| IP Scan/Local User admin | pezhore | Fri, 05 Mar 2010 07:16:12 | Where I work, we don’t use AD for roughly 30-60 servers. There are multiple identical local windows accounts on various servers, and when a person leaves the company, those accounts need to be deleted by hand. This group of scripts performs the following tasks: There’s three parts to this script. The trigger which is run from the console in the same directory as the finduser.ps1 and set-localaccount.ps1 files. Note that set-localaccount.ps1 is from powershell.nu, with some minor changes that allow the computername to passed as a parameter. |
PowerShell Code Repository