April 11, 2013 1:51 PM
Posted by: Richard Siddaway
PowerShell 3,
Windows Server 2012Windows Server 2012 has a PowerShell enabled backup utility. When you enable the feature you get a module called WindowsServerBackup. It has the cmldets you would expect for creating and managing backups. No surprise you may say as this was avialable in Windows 2008 R2.
The...
April 6, 2013 9:38 AM
Posted by: Richard Siddaway
Active Directory,
Books,
PowerShell 3,
Windows Server 2012The MEAP marches on with chapter 8 now released:
Chapter 8 – creating Group Policies
details from http://www.manning.com/siddaway3/
April 1, 2013 5:17 AM
Posted by: Richard Siddaway
PowerShell 3,
Windows Server 2012,
WMIPowerShell provides the Stop-Computer cmdlet for closing down a remote machine. I find this especially useful in my virtual test environment. I’ll have several machines running but won’t necessarily have logged onto them. Using Stop-Computer means that I can shut them down cleanly without...
March 11, 2013 2:07 PM
Posted by: Richard Siddaway
PowerShell 3,
Windows 8,
Windows Server 2012,
WMILast time we saw the Get-NetAdapter cmdlet from the NetAdapter module
PS> Get-NetAdapter | ft Name, InterfaceDescription, Status -a
Name ...
March 4, 2013 2:23 PM
Posted by: Richard Siddaway
PowerShell 3,
Windows 8,
Windows Server 2012,
WMIThe WMI classes Win32_NetworkAdapter and Win32_NetworkAdapterConfiguration have seen a lot of use over the years. They can be a bit fiddly to use which is why the NetAdapter module in Windows 8/2012 is a so welcome.
Lets start by looking at basic information gathering
PS>...
February 27, 2013 2:15 PM
Posted by: Richard Siddaway
Active Directory,
PowerShell 3,
Windows Server 2012Many of the Microsoft AD cmdlets have a –Filter and an –LDAPFilter parameter. So what’s the difference?
PS> Get-Help Get-ADUser -Parameter *Filter*
-Filter <String>
Specifies a query string that retrieves Active Directory objects....
February 21, 2013 1:54 PM
Posted by: Richard Siddaway
Active Directory,
PowerShell 3,
Windows Server 2012I decided to replace one of the DCs in my test environment with a Windows 2012 Server Core machine. Server Core has really come of age in Windows 2012 – its easy to configure.
I’ve covered configuring a server before but to recap:
- Rename the machine – use...
January 17, 2013 1:49 PM
Posted by: Richard Siddaway
Hyper-V,
Windows Server 2012,
WSUSMy test environment usually has a dozen or so machines at any one time. Some of these are short lived and used for a particular piece of testing – others are kept for years. I decided that I wanted to keep up to date on the patching of these virtual machines so installed WSUS on a...
December 12, 2012 2:18 PM
Posted by: Richard Siddaway
Hyper-V,
PowerShell 3,
Virtualisation,
Windows Server 2012I’ve had two projects in mind for a while. First I need to build a new WSUS server in my virtual environment & secondly I want to automate as much of the VM creation and configuration as possible. Oh – and I’m not using SC Virtual Machine Manager.
I’ll be using...