Friday, July 29, 2022
Sunday, April 3, 2022
Basic PowerShell Commands
Get Execution Policy
Get-ExecutionPolicy
Set Execution Policy to Unrestricted
Set-ExecutionPolicy Unrestricted
Show PowerShell Version
$PSVersionTable
Get help for a command
Use this to get the help information for a commandGet-Help <cmdlet-name>
Search Get Help
Use this to search the help files. This is useful if you don’t know the command or want to see if one exists.
Get-Help *keyword*
Use this command to display all the installed modules on a computer
Get-InstalledModule
List All Available Modules
This will list all available modules on the computer.
Get-Module -ListAvailable
Get Installed Modules
Use this command to display all the installed modules on a computer
Get-Module -ListAvailable
Display available commands
This will display all commands that are available based on the modules that are loaded.
Get-Command
Monday, October 4, 2021
Windows 11: release information
Windows 11, version 21H2
(OS build 22621)
(OS build 22621)
Windows 11, version 21H2 (original release)
(OS build 22000)
(OS build 22000)
External links
Windows 11 release information
Monday, September 27, 2021
PowerShellTip: Get AD Global Catalog status from all DC
[System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain().DomainControllers | %{"$($_.Name) : $($_.isglobalcatalog())"}
Subscribe to:
Posts (Atom)

