Monthly Archives: January 2017

Append data to a file

A question on the forums – the user wanted to append data to a file. This is a common scenario when you’re creating a log file. There’s 2 easy ways to do this. Lets create a couple of variables with … Continue reading

Posted in Powershell Basics | Leave a comment

Powershell versions

An explanation of PowerShell versions is available here – http://itknowledgeexchange.techtarget.com/powershell/powershell-versions-2/

Posted in Powershell | Leave a comment

Finding DNS static records

An interesting question from the forums about finding DNS static records You can view the records in a DNS zone Get-CimInstance -Namespace root\MicrosoftDNS -ClassName MicrosoftDNs_Atype -ComputerName W16DC01  -Filter “DomainName = ‘manticore.org’” | select OwnerName, Timestamp, IPAddress but how do you … Continue reading

Posted in DNS, Powershell, PowerShell and CIM | Leave a comment

Using Hyper-V

When you think of using Hyper-V most people think of virtualising their infrastructure – big servers running 10s, 100s or even 1000s of virtual machines. There is another reason for using Hyper-V You can use Hyper-V to create a VM … Continue reading

Posted in Hyper-V | Leave a comment

Summit 2017–seats going fast

Seats at eh PowerShell Summit –  https://eventloom.com/event/home/summit2017 – are going fast. We’ve sold over 70% of the seats – they’re current 55 seats left split between 4-day and 3-day passes. The 3-day passes don’t go on sale until 12 February … Continue reading

Posted in Powershell, Summit | Leave a comment

Learn Hyper-V – Deal of the day – January 28 2017

Deal of the Day January 28: Half off my book Learn Hyper-V in a Month of Lunches. Use code dotd012817au at http://bit.ly/2jAIfWK More information from DOTD’s page at https://www.manning.com/dotd

Posted in Books, Hyper-V | Leave a comment

wmic deprecated

I saw a forum post today where the question involved the use of the wmi command line tool wmic. Wmic was deprecated in Windows Server 2012 – https://technet.microsoft.com/en-us/library/hh831568(v=ws.11).aspx. It will eventually be removed. You should use the CIM cmdlets instead … Continue reading

Posted in PowerShell and CIM, PowerShell and WMI | Leave a comment