GithubHelp home page GithubHelp logo

infrascripts's Introduction

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.

infrascripts's People

Contributors

nawawn avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.