Showing results for June 2013 - Page 3 of 14 - Scripting Blog [archived]

Jun 25, 2013
Post comments count0
Post likes count0

PowerTip: Use a .NET Framework Class in PowerShell to Get User Info

Doctor Scripto
Doctor Scripto

Summary: Use a .NET Framework class in Windows PowerShell to get user name and domain name information.  How can I use a .NET Framework class in Windows PowerShell to get a user name and domain in the format userdomain\username, without building a string?  Use the Name property from the GetCurrent static method of the&...

Scripting Guy!Windows PowerShellPowerTip
Jun 25, 2013
Post comments count1
Post likes count1

Use PowerShell to Interact with the Windows API: Part 1

Doctor Scripto
Doctor Scripto

Summary: Guest blogger, Matt Graeber, discusses how to use Windows PowerShell to interact with Windows API functions in Part 1 of a three-part series. Microsoft Scripting Guy, Ed Wilson, is here. Guest blogger, Matt Graeber, is back. Matt first joined us as a guest yesterday with his post Use PowerShell and Regular Expressions to Search Binary...

Scripting Guy!Windows PowerShellguest blogger
Jun 24, 2013
Post comments count0
Post likes count0

PowerTip: Audit Special Privilege Use with PowerShell

Doctor Scripto
Doctor Scripto

Summary: Learn how to audit special privilege use with Windows PowerShell. How can I easily find information about auditing special privileges that are assigned to various logon IDs if I am running Windows 8 and Windows Server 2012? Start Windows PowerShell with Admin rights. Use the Get-EventLog cmdlet to query the security event log, lo...

Scripting Guy!Windows PowerShellPowerTip
Jun 24, 2013
Post comments count0
Post likes count0

Use PowerShell and Regular Expressions to Search Binary Data

Doctor Scripto
Doctor Scripto

Summary: Guest blogger and pioneer of the PowerSploit module talks about using Windows PowerShell and regular expressions to search binary data. Microsoft Scripting Guy, Ed Wilson, is here. Today we kick off a four-part Windows PowerShell and security series with a new guest blogger, Matt Graeber. The Scripting Wife and I had the privilege of meeti...

Scripting Guy!Windows PowerShellguest blogger
Jun 23, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Report Computer Performance

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to report on computer performance.  How can I easily obtain the performance of local or remote computer by using Windows PowerShell?  Query the Win32_WinSat class. In Windows PowerShell 3.0, use the Get-CimInstance cmdlet: Get-CimInstance Win32_WinSAT In Windows PowerShell 1.0 or Windows...

Scripting Guy!Windows PowerShellPowerTip