Latest Powershell News

What’s New in Windows PowerShell (WPS) 2.0?

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 ...

PowerShell Language (PSL)

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 ...

PowerShell (PS) objects instead of strings in the pipeline

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 ...

PowerShell (PS): Navigate as though everything is a drive

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 ...

Install Windows Updates using Windows PowerShell

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. ...

Use parameters to your Powershell scripts

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 ...

How to create a file – Powershell

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

Convert the date returned from active directory

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 ...

Get the necessary arguments to your script

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 ...

Out-Clipboard: Creating an alias persistent

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 ...