Showing tag results for PowerTip

Oct 1, 2012
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Write to an Event Log

Doctor Scripto

Summary: Use the Write-Eventlog Windows PowerShell cmdlet to write to a standard or to a custom event log.   How can you easily write output to an event log? Use the Write-EventLog cmdlet, and make sure that you specify the log name and the source: write-eventlog -logname Application -source MyApp -eventID 3001 -entrytype Information...

Scripting Guy!Windows PowerShellPowerTip
Sep 30, 2012
Post comments count0
Post likes count0

PowerTip: Look at User Variables

Doctor Scripto

Summary: Look at variables that do not have a description.  How can you look at automatic and user-created variables that have no description?  Use the Get-Variable cmdlet and search for an empty description:             Get-Variable | where description -eq ""

Scripting Guy!Windows PowerShellPowerTip
Sep 29, 2012
Post comments count0
Post likes count0

PowerTip: Find the Last Command PowerShell Ran

Doctor Scripto

Summary: Find the last Windows PowerShell command by using an automatic variable.  How can you find the last Windows PowerShell command that was run?  Use the $$ automatic variable.

Scripting Guy!Windows PowerShellPowerTip
Sep 28, 2012
Post comments count0
Post likes count0

PowerTip: Use PowerShell 3.0 to Locate Modern Apps Installed on Windows 8

Doctor Scripto

Summary:  Learn how to use Windows PowerShell 3.0 to locate modern apps installed on a computer running Windows 8.  How can you use Windows PowerShell 3.0 to find out which modern apps are installed on a computer running Windows 8?  Use the Get-AppxPackage cmdlet:           ...

Scripting Guy!Windows PowerShellPowerTip
Sep 27, 2012
Post comments count0
Post likes count0

PowerTip: Check Windows 8 Edition by Using PowerShell 3.0

Doctor Scripto

Summary: Use Windows PowerShell 3.0 to determine the specific edition of Windows 8 running on your computer.  Using Windows PowerShell 3.0 in Windows 8, how can you determine the edition of Windows that is installed?  Use the Get-WindowsEdition cmdlet with the Online switch:          ...

Scripting Guy!Windows PowerShellPowerTip