-
< # .SYNOPSIS This script contains a function , EchoArgs, that returns a list of the arguments passed and their type. It is used to demonstrate the use of the --% operator when calling a function or cmdlet, a new ...
-
I’ve written a bit recently about Server Core in Server 2012. But here’s yet more details. In Server 2012, the GUI is an installable feature – one you can add or remove. There are actually three levels of GUI within Server 2012: Full GUI – the full blown...
-
The new –showwindow parameter in Get-Help pops up a little window containing the FULL help file. Much better than having to rememebr to use –full. PowerShell immediately returns the prompt so you can continue working – means you can have a...
-
PowerShell and Server Core – Server 2008 R2 and 2012 in July, I wrote a few articles on PowerShell in Server core ( here , here , and here ). There were two key points noted in those articles. First, Server Core in Server 2012 has a removable GUI – you...
-
< # .SYNOPSIS This script defines a function , Disable-Gui which disables the GUI on Windows Server 2012 Server Core .DESCRIPTION The Disable-GUI function enables the GUI in Server 2012 ...
-
< # .SYNOPSIS This script defines a function , Enable-Gui which enables the GUI on Windows Server 2012 Server Core .DESCRIPTION The Enable-GUI function enables the Gui in Server 2012 Server Core by adding in two windows features. The script removes any Shell setting to ensure that when Server 2012...
-
< # .SYNOPSIS This script demonstrates setting default values for Local Hyper-V host. .DESCRIPTION This script imports the Hyper-V module then uses it to set certain default values for this hyper-V Host ...
-
< # .SYNOPSIS This script demonstrates creating a Hyper-V Switch .DESCRIPTION This script imports the Hyper-V module then uses it to create an Internal Switch for use in future provisioning. .NOTES File Name : New-InternalSwitch...
-
In Windows 8/2012 you can mount a VHD into the file system. Is there a way to discover the drive letter of the mounted VHD function get-mountedvhdDrive { $disks = Get-CimInstance -ClassName Win32_DiskDrive | where Caption -eq "Microsoft Virtual Disk"...
-
Now that folks are back to work and catching up on their reading, I’m starting to get bookings for the October PowerShell PowerCamp event ( http://tfl09.blogspot.co.uk/2012/08/announcing-powershell-v3.html for the details). It’s great to get mail from...
-
The download for PowerShell v3 – now know as Windows Management Framework as you get PowerShell, WinRM and new WMI API is now available from http://www.microsoft.com/en-us/download/details.aspx?id=34595 Versions are available for: Windows 7 SP1 Windows...
-
Now that the summer is (nearly) over, it’s time to get back to what mattes. With the imminent arrival of both Server 2012 and Windows 8 to general availability, learning PowerShell is now, more than ever, something every IT Pro needs to do! One great...
-
One of the great features of PowerShell, especially for beginners, is that you can easily run old console applications that were originally written to be run under CMD.EXE. These are can be managed or unmanaged applications as well as older VBScripts...
-
Windows 8 brings PowerShell v3 and a whole bunch of PowerShell modules. One such module is NETTCPIP and as the name suggests is about networking. PowerShell v3 automatically loads modules for you so as soon as PowerShell opens try PS> Get-NetIPConfiguration...
-
Downloaded and installed PowerShell v3 and its associated new operating system (Windows 8) from MSDN in the week. One nice new cmdlet is Unblock-File. Download a bunch of files from the Internet and you have to unblock them. Its now this easy Get...