Skip to content

Latest commit

 

History

100 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shared PowerShell Scripts for Infrastructure Stuff

CollectServices.ps1 This script simply creates csv files which include details about services running on a server using the server name as a file name.

ServicesCheck.tests.ps1 This Pester script uses all the csv files gathered by 'CollectServices.ps1' and check against the server if the services inside the csv are running.

Get-nHostReport.ps1 This script queries all the servers in AD and extract AD info, installed programs info, running services info and installed hotfixes info on an html report per server.

New-ChildSubFolder.ps1 This script creates a subfolder under all child folders of a given path.

Invoke-SqlQuery.ps1 This script queries the database and return the result. It is useful when you don't have the Invoke-SqlCmd cmdlet available on your computer.

Remove-PepperFlash.ps1 This script removes all the residues of Google Chrome Flash player (PPAPI) after a new version is installed. You may need to specify the acceptable version.

Get-PepperFlash.ps1 This script gets all of the Pepper Flash installed on the computer.

Remove-AdUserHomeDir.ps1 This script removes the Home Directory of a given AD User.

New-AESencryption.ps1 This script can be used to generate AES key and encrypted password to store in a text file. These files can then be used to create PSCredential in your automation script.

Enter-Credential.ps1 This script continues to prompt the username and password if they are incorrect.

New-Password.ps1 This interactive script continues to prompt for new password if they don't meet the password complexity and minimum lenght requirement.

Test-Credential.ps1 This interactive script checks if the given credential is authenticated successfully.

Get-SPFolderItemReport.ps1 This script can generate the report with all folder and file list from a SharePoint site library.

Get-FolderReport.ps1 This script has three functions, Get-DirectoryReport, Out-RelativePath and Get-DirStructure.

Update-RegLegacySW.ps1 Registry fix work around to install legacy software when you have folder redirection turned on in your environment. This changes will be over written by the Group Policies when the machine restart.

Watch-Process.ps1 This script can monitor a process and sends an email and/or a message to a MS Team channel when it terminates.

Get-ServicePsd1.ps1 This script generates the running and stopped services in powershell configuration data format output.

Replace-Char.ps1 This script replaces a single character in a given string.

About

Shared PowerShell Scripts for Infrastructure stuff

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages