Showing archive results for 2014

Aug 30, 2014
Post comments count3
Post likes count0

PowerTip: Use PowerShell to Set Primary and Secondary DNS Server Addresses

Doctor Scripto

Summary: Use Windows PowerShell to set the primary and secondary DNS server addresses for a client.  I recently changed the IP address scheme for an entire subnet. How can I use Windows PowerShell to set the            primary and secondary DNS server addresses for the client workstations?  Use the Set-D...

Scripting Guy!Windows PowerShellPowerTip
Aug 30, 2014
Post comments count0
Post likes count0

Weekend Scripter: A Function to Clean Up Data Import

Doctor Scripto

Summary: Learn about a Windows PowerShell function you can use to clean up data prior to import. Microsoft Scripting Guy, Ed Wilson, is here. We are entering the Labor Day weekend in the United States today. Labor Day is a sad holiday, but it is also a happy time. It is sad because it traditionally marks the end of summer. It is happy because if yo...

Scripting Guy!Windows PowerShellscripting techniques
Aug 29, 2014
Post comments count0
Post likes count0

PowerTip: Hide Common Code in PowerShell ISE

Doctor Scripto

Summary: Learn how to hide common code in the Windows PowerShell ISE. How can I hide related code in the Windows PowerShell ISE to make it easier to troubleshoot and to read? Open the ISE, and in the script pane, begin a section with the #Region tag and a name.            Then end the section with t...

Scripting Guy!Windows PowerShellPowerTip
Aug 29, 2014
Post comments count0
Post likes count0

Creating Custom PowerShell Objects

Doctor Scripto

Summary: Use Windows PowerShell to create custom objects prior to data export. Microsoft Scripting Guy, Ed Wilson, is here. It is nice and cool this morning so I decided to walk over to the neighborhood coffee and tea shop to have a cup of tea. I can sit outside and enjoy the day. There is free wireless Internet, so I brought my Surface Pro 3 ...

Scripting Guy!Windows PowerShellscripting techniques
Aug 28, 2014
Post comments count0
Post likes count0

PowerTip: Use Graphical Tool to Create PowerShell Commands

Doctor Scripto

Summary: Learn how to use a graphical tool to create Windows PowerShell commands.    How can I use Windows PowerShell so that I can point-and-click at options that are available for a using a particular cmdlet?  Use the Show-Command cmdlet and select the parameters you need, for example: Show-Command -Name Get-Process

Scripting Guy!Windows PowerShellPowerTip