Use PowerShell to Create IPv4 Scopes on Your DHCP Server

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create IPv4 scopes on a Windows Server 2012 DHCP server. Microsoft Scripting Guy, Ed Wilson, is here. As I expected, it is cold, wet, and rainy in Redmond this week. Oh well, the cool thing is getting together with my teammates. The neat…


PowerTip: Test the Presence of a Remote Share by Using PowerShell

Summary: Learn how to use a Windows PowerShell cmdlet to test the presence of a remote share.  How can I use Windows PowerShell to test for the presence of a share on a remote server?  Use the Test-Path cmdlet and supply a UNC path, as shown here. 13:55 C:\> Test-Path \\Server1\downloads True  


Weekend Scripter: Parsing the DHCP Database? No Way!

Summary: Microsoft Scripting Guy, Ed Wilson, talks about a Windows PowerShell function from the DHCPServer module that permits parsing the DHCP database. Microsoft Scripting Guy, Ed Wilson, is here. Give us enough time, and eventually we get it right. Yes, it is now possible to use Windows PowerShell to parse the DHCP server database of…


PowerTip: Test PowerShell Remote Connections

Summary: Learn how to test a workstation for Windows PowerShell remoting connectivity.  How can I test a workstation to ensure that Windows PowerShell remoting can make a connection?  Use the Test-WSMan cmdlet and specify the name of the remote workstation, as shown here. 13:53 C:\> Test-WSMan dc1 wsmid           : http://schemas.dmtf.org/wbem/wsman/identity/1/wsmanidentity.xsd ProtocolVersion : http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd ProductVendor   : Microsoft Corporation ProductVersion …


Weekend Scripter: DHCP Address Conflict Detection

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to configure DHCP address conflict detection. Microsoft Scripting Guy, Ed Wilson, is here. Well, it’s the weekend here in Charlotte, North Carolina. This morning it is foggy, and the air is crisp but not cold. The naked trees in my front yard seem content…


PowerTip: Use a PowerShell Function to Find DNS Server Block List

Summary: Use a Windows PowerShell function from Windows 8 or Windows Server 2012 to find the DNS server global query block list.  How can I use a function from Windows 8 or Windows Server 2012 to find the DNS server global query block list?  Use the Get-DNSServerGlobalQueryBlockList function and specify the name of the DNS server, as shown here. 15:19 C:\> Get-DnsServerGlobalQueryBlockList…


Use PowerShell Functions to Authorize DHCP Servers

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using functions from Windows 8 and Windows Server 2012 to authorize DHCP servers in AD DS. Microsoft Scripting Guy, Ed Wilson, is here. Well, today it is sunny and about 70 degrees in Charlotte, North Carolina. This is a good thing because I head to Redmond, Washington, next week…


PowerTip: Float Your PowerShell Help

Summary: Learn how to create a floating window for your Windows PowerShell Help.  How can I open Windows PowerShell 3.0 Help in a new window without tying up my Windows PowerShell console?  Use the –ShowWindow parameter with Get-Help, as shown here. help Get-DhcpServerInDC -ShowWindow


Use PowerShell to Query AD DS for DHCP Servers

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to query the Active Directory configuration context to return DHCP servers. Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about Windows Server 2012 and Windows 8 is the numerous cmdlets and functions available. After installing the Remote Server Admin Tools (RSAT) on…


PowerTip: Find All PowerShell Registry Drives

Summary: Find all Windows PowerShell drives that are rooted in the Windows registry.  How can I find all of my Windows PowerShell registry drives?  Use the Get-PSDrive cmdlet and specify a provider of registry, as shown here. Get-PSDrive -PSProvider registry