Showing archive results for 2013

Jan 15, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Quickly Find Virtual Machine Network Adapters

Doctor Scripto

Summary: Learn how to use a couple of functions to find quickly virtual machine network adapter information by using Windows PowerShell 3.0.  How can I find information about all network adapters used by all virtual machines running Windows Server 2012 with the Hyper-V role?  Pipe the results of Get-VM to the ...

Scripting Guy!Windows PowerShellPowerTip
Jan 15, 2013
Post comments count0
Post likes count0

Use PowerShell to Create Multiple DHCP Scopes on DHCP Servers

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use functions from the DHCPServer module to create multiple IPv4 scopes. Microsoft Scripting Guy, Ed Wilson, is here. One thing that is great about Windows PowerShell is that, in general, it always behaves in a similar fashion. This means that techniques I learned when working with Active Di...

Scripting Guy!Windows PowerShellPowerShell 3
Jan 14, 2013
Post comments count0
Post likes count0

PowerTip: Find Files Using the Wrong Year

Doctor Scripto

Summary: Use Windows PowerShell to find files using the wrong year in the file name.  I have files that use the month, day, and year in their file names. I recently discovered that some years are not using the new year in their file names. How can I easily find these files?  Use the Get-ChildItem cmdlet to find the files in...

Scripting Guy!Windows PowerShellPowerTip
Jan 14, 2013
Post comments count0
Post likes count0

Use PowerShell to Create IPv4 Scopes on Your DHCP Server

Doctor Scripto

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 thing about Microsoft is th...

Scripting Guy!Windows PowerShellPowerShell 3
Jan 13, 2013
Post comments count0
Post likes count0

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

Doctor Scripto

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  

Scripting Guy!Windows PowerShellPowerTip