Showing results for April 2013 - Page 5 of 10 - Scripting Blog [archived]

Apr 14, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Find the Temp Folder Path

Doctor Scripto
Doctor Scripto

Summary: Find the path to the temporary folder.  How can I use Windows PowerShell to find the path to the temporary folder? Use the Temp variable, and obtain its value from the Env: PS drive. $env:TEMP 

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

Weekend Scripter: Use PowerShell to Clean Out Temp Folders

Doctor Scripto
Doctor Scripto

Summary: Guest blogger, Bob Stevens, talks about using Windows PowerShell to clean out temporary folders on desktops following a malware infection. Microsoft Scripting Guy, Ed Wilson, is here. Today, we welcome back our newest guest blogger, Bob Stevens. Yesterday Bob wrote about a quick script that he developed to pick out comments from a Windows...

Scripting Guy!Windows PowerShellguest blogger
Apr 13, 2013
Post comments count0
Post likes count0

PowerTip: See All PowerShell Script Execution Policies

Doctor Scripto
Doctor Scripto

Summary: Find the settings for all five script execution policy scopes.   How can I use Windows PowerShell to see all of the script execution policies that affect the current Windows PowerShell session?             Use the Get-ExecutionPolicy cmdlet with the –List parameter: &nb...

Scripting Guy!Windows PowerShellPowerTip
Apr 13, 2013
Post comments count0
Post likes count0

Weekend Scripter: Pick Comments from a PowerShell Script

Doctor Scripto
Doctor Scripto

Summary: Guest blogger, Bob Stevens, shares a script to pick out comments from a Windows PowerShell script. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a new guest blogger, Bob Stevens. I made Bob’s virtual acquaintance recently when I did a Live Meeting presentation to the Twin Cities PowerShell User Group. Here is Bob’s...

Scripting Guy!Windows PowerShellscripting techniques
Apr 12, 2013
Post comments count0
Post likes count0

PowerTip: Determine the Status of Your DHCP Server Audit Log

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to determine the status of your DHCP server audit log.  How can I use Windows PowerShell to determine the status of my DHCP server audit log in Windows Server 2012?  Use the Get-DHCPServerAuditLog cmdlet and specify the server name: Get-DhcpServerAuditLog -ComputerName DHCP1  

Scripting Guy!Windows PowerShellPowerTip