Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

powershell-black-256$${\color{green}Microsoft \space Infra \space Automation \space Module}$$

To install this module, drop the entire MS-Module folder into one of your module directories

The default PowerShell module paths are listed in the $env:PSModulePath environment variable

To make it look better, split the paths in this manner: $env:PSModulePath -split ';'

The default per-user module path is: "$env:HOMEDRIVE$env:HOMEPATH\Documents\WindowsPowerShell\Modules"

The default computer-level module path is: "$env:windir\System32\WindowsPowerShell\v1.0\Modules"

To use the module, type following command: Import-Module MS-Module -Force -Verbose

To get the module version type following command: Get-Module -ListAvailable |? {$_.Name -eq 'MS-Module'}

To see the commands imported, type Get-Command -Module MS-Module

For help on each individual cmdlet or function, run Get-Help CmdletName -Full [-Online][-Examples]

No Cmdlet Description
1 Get-OUPath Convert AD object's DistinguishedName property to a path like format. Distinguished name CN=User1,OU=Sales,OU=North,DC=contoso,DC=com = Contoso\North\Sales\User1 in the path format
2 Write-Menu Create colored, interactive and dynamic Menu in the PowerShell console
3 New-PercentageBar Create colored and adjustable Percentage Bar in the PowerShell
4 New-RandomPassword Generate a random password with custom length and complexity
5 Start-SleepProgress Put a script or cmdlet to sleep for specified interval or until specified timestamp
6 Sort-IpAddress Intellectually sort IP addresses
7 Write-HostHighlight Monitor and highlight log files
8 Write-Ascii Write output by using ASCII art fonts