You certainly know the commands cd and Set-Location. It stands for change directory. I hope you also know the commands cd \ and cd .. But what about cd ~ ?
Under certain circumstances the installation of software can only take place at a specific time. This article describes the establishing of a scheduled installation on the localhost and on remote hosts.
The more I am playing with it, the more I like it: Test-NetConnection. Test-NetConnection views information of a connection. What can we do with it?
Don Jones, the author of “Learn PowerShell in a month of lunches” said: “Be prepared to read the help, or you’ll fail at PowerShell.”
For archiving purposes run the following command in Exchange Management Shell to export a mailbox to a PST File and to save the file in the folder pst:
In this article, I am going to show how to configure your computer to start PowerShell with administrative privileges every time you log on to your computer.
To find out the parameters of a Cmdlet, you can call the Windows PowerShell Help. To be faster you can use some tricks to get more out of Parameters.
PowerShell supports all possible types of calculations. The following examples will help you explore the possibilities of PowerShell.
Execute the following two-liners to cause PowerShell saying “Command completed successfully”. $words = New-Object -ComObject SAPI.SpVoice $words.speak(“Command completed successfully”)
If you install Roles and Features with PowerShell, Install-WindowsFeature is your friend. Get-Windowsfeature gets information about installed or available Server Roles. This blog post shows you how to get a list of […]
By running a simply PowerShell One-Liner we are able find all expired certificates stored in the Certificate Store. The store is accessible by using the PowerShell Drive cert:. To show all expired […]
Start-Transcript creates a record of PowerShell Sessions. For documenting and archiving. The feature is very useful for administrative tasks and programming. This article describes the use of Start-Transcript and Stop-Transcript on the […]
Tired of installing 3rd party software on Windows? 7zip, winrar, Chrome, Adobe Reader, Java etc … had to be downloaded manually. Now this is over. Package Management in PowerShell is here! Online repository is the keyword.
A user tries to log on to the domain. The login is done successfully. Shortly thereafter, the user reports that he can not access his files on the fileserver, nor can he send e-mails.
Client Computers update Group Policies every 90 minutes. In this blog post I force gupdate on all client computer of an organizational unit by running a PowerShell command from a remote computer.