Rename Computer PowerShell 3.0
Rename a Windows Machine Name with PowerShell v3 The purpose of this page is to give you basic examples of a new PowerShell 3 cmdlet called Rename-Computer. A Simple Example of PowerShell Renaming Computer Control Panel GUI Versus Rename-Computer Cmdlet PowerShell Script to Rename One Computer PowerShell Script to Rename …
Check Your Version of PowerShell with $PSVersionTable PowerShell has a built-in variable called $PSVersionTable, it displays numeric information about the Version, Build and Compatibility. $PSVersionTable Detailed PowerShell Version Check $Host – PowerShell Variable Running PowerShell 4.0 as Version 2.0 ♣ $PSVersionTable This variable was first introduced in PowerShell version 2.0. …
PowerShell Logon Scripts If you are thinking of using PowerShell for a logon script – think again. Much as I loved grappling with old DOS batch files and perfecting the superior VBScript logon scripts, I admit there are better ways of achieving a task than a PowerShell logon script. Whatever …
Scripting WMI Win32_NTLogEvent with PowerShell The benefits of using either PowerShell or VBScript to interrogate the event logs is that you can get fine control of filtering for a particular error or warning. On this page I have chosen to ask Get-WmiObject to retrieve the WMI class Win32_NTLogEvent, rather than …
PowerShell and QADUser A company called Quest provides an extra snap-In for PowerShell. The idea is for these Active Directory cmdlets to work alongside the native PowerShell commands. As a result we can examine users’ properties, and with care, change values and even reset their passwords. Topics for PowerShell’s QADUser …
Introduction to Windows PowerShell Cmdlets With PowerShell you have a choice, you can either type commands directly at the shell’s command line, or else you can store the same commands in a text file. Naturally, you then call that script file, known as a cmdlet, from the PowerShell command line, …
PowerShell’s Top Ten Parameters, or -Switches Most of PowerShell’s commands can be fine-tuned with -parameters, otherwise known as switches. My aim of this page is to encourage you keep a notebook of such useful PowerShell parameters. Topics for PowerShell Parameters Guy’s Top Ten PowerShell -Parameters How to research PowerShell Parameters …
A Windows PowerShell Tutorial My mission is to two fold. Firstly, to encourage a new generation of script writers to learn PowerShell; secondly I want to provide experienced scripters with a bank of example scripts so that they can convert to PowerShell. To newbies I want to say: ‘It really …