Category: Powershell

Set Windows permissions via PowerShell
article #1207, updated 121 days ago

Here’s a rundown:

https://blogs.msdn.microsoft.com/johan/2008/10/01/powershell-editing-permissions-on-a-file-or-folder/

Categories:   Powershell   

==============

Get Version of PowerShell
article #1201, updated 134 days ago

To get the Powershell version, run this:

$PSVersionTable.PSVersion

If it’s 1.0, you’ll get an error, otherwise you will have what you need.

Categories:   Powershell   

==============

Run Powershell commands in Labtech/Automate CMD
article #1188, updated 180 days ago

If you place a tilde (~) before the command you enter, no space after, your command will be run within Powershell. For instance:

~dir

Categories:   Automate / Labtech   Powershell

==============

PowerShell Gallery
article #1136, updated 310 days ago

“The PowerShell Gallery is the central repository for PowerShell content. You can find new PowerShell commands or Desired State Configuration (DSC) resources in the Gallery.”

http://www.powershellgallery.com/

Categories:   Powershell   

==============

Install PowerShell 5.1
article #1135, updated 311 days ago

As part of Windows Management Framework 5.1. Not indicated for Windows 10 / Server 2016.

https://www.microsoft.com/en-us/download/details.aspx?id=54616

Categories:   Powershell