Category: Powershell
-
Tail -f for windows
Use the powershell command get-content -wait
-
Create a new file share with PowerShell
New-SmbShare –Name fso –Path c:\fso Thanks, Malcolm.
-
How to find a WindowsFeature to install in Powershell
get-windowsfeature | where {$_.Name -like “*AD*”}
-
Install the GUI on Windows Server 2012 Core install
From a PowerShell command line run, PS C:\>Install-WindowsFeature Server-Gui-Shell, Server-Gui-Mgmt-Infra then restart Thanks, Malcolm.
-
Joining a domain using Powershell
In its simplest form : PS C:\> add-computer -domainname contoso to see all the possible options use PS C:\>help add-computer