Articles in the Powershell Category
The PowerShell 2.0 is the second version of Windows PowerShell . WPS 2.0 appears as an integral part of Windows 7 and Window Server 2008 Release 2, as well as add-on for XP, Vista and …
Besides commandlet infrastructure provides the PowerShell also has its own scripting language. The PowerShell Language (PSL) shows not only variables, but also common programming constructs such as loops and conditionals. In the PSL, you can …
Object- Pipe lining is a concept of the Microsoft PowerShell for exchanging typed objects between commands ( commandlet s). The object-oriented pipe lining is used in contrast to the string-based Unix shell pipe lining is …
A PowerShell provider is in PowerShell ( Microsoft Shell ) the abstraction of object set s through which you navigate through drives. One example is the navigation through the registry or environment variables as by …
In most domains Windows Update are controlled by Group Policy and Windows Server Update Services (WSUS). For client computers, it`s common to download and install updates automatically. For servers, we want to control the installation …
here’s how to use parameters to your script
Ex: ./myscript.ps1-path “c: \ temp”-a value
Param ([string] $ path, [int] $ value)
Write-host “the path is: $ path and the value is $ value”
Here is the command line to create a
$ file = new-item “c: \ temp \ yoy.txt”-type file-force
The force option to overwrite the existing file if the file existed before
If you delve a little into active directory and as such you want the date of last logon of users, you got an amazing number of 64-bit!
Do not panic, this corresponds to tens of thousands …
In this tutorial we will teach you how to retrieve the arguments passed on the command line in order to reuse them in your script.
To do this, we will use the PowerShell automatic variable ” …
In this tutorial we will create an alias on an external command, then ensure that the alias is when we leave and re-launching PowerShell.
Take the example of the tutorial on sending data to the clipboard. …
