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.
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.
The following guide describes the basic configuration of a Windows Server Core running Windows Server 2012 and Windows Server 2016.
Nslookup is a command-line tool for dns name resolution. Resolve-DnsName is the modern version of nslookup. In this blog post I am going to show how to use Resolve-DnsName to query DNS host names […]
PowerShell Remoting: How to connect to Remote Hosts in a Domain- and in a Non-Domain Environment (Trusted Hosts)
In this article i will show how to connect to remote hosts and how to configure the list of Trusted Hosts. Because with the introduction of Windows Server Core and Nanoserver, the significance of Windows PowerShell Remoting has increased.
You can use the Foreach-Object Cmdlet to loop through items In this post I would like to show you several practical examples, from the bulk import of users to the creation of dummy files with fsutil.
If the memory is to be upgraded, then you have to find out whether the new memory is compatible. And you have to find out the type of your currently installed memory. The device manager does not provide any information about this.
In this article i will describe how to use Restart-Computer for restarting all domain computers – without an enterprise solution.
With the introduction of Server Core something has changed in the Windows world. The graphical interface has disappeared. A Windows Server no longer has to run the full graphical user interface in order to be able to function as a Domain Controller.