Showing tag results for PowerTip

Mar 30, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Find Calling Assembly

Doctor Scripto

Summary: Learn how to use Windows PowerShell to find the calling assembly.  How can I find the name of a calling assembly from within Windows PowerShell?  Use the GetCallingAssembly static method from the [system.Reflection.Assembly] class: [system.reflection.assembly]::GetCallingAssembly()

Scripting Guy!Windows PowerShellPowerTip
Mar 29, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Find Non-Inherited Access to a Folder

Doctor Scripto

Summary: Learn how to use Windows PowerShell to find non-inherited access rights to a folder.  How can I find non-inherited access rights to a folder by using Windows PowerShell?  Use the Get-Item cmdlet to select the folder, and pipe it to the Get-ACL cmdlet. Choose the Access property, and filter the result...

Scripting Guy!Windows PowerShellPowerTip
Mar 28, 2013
Post comments count0
Post likes count0

PowerTip: Find PowerShell Noun Distribution

Doctor Scripto

Summary: Learn how to see which nouns in Windows PowerShell are used most.  How can I find which Windows PowerShell cmdlet nouns are used most?  Import all the modules, then use the Get-Command cmdlet to retrieve all cmdlet information, and group by noun. You can also use the following commands to sort the results by count. Note...

Scripting Guy!Windows PowerShellPowerTip
Mar 27, 2013
Post comments count0
Post likes count0

PowerTip: Get the Last Boot Time with PowerShell

Doctor Scripto

Summary: Learn how to get the last boot time for your computer.  How can I find the last boot time for my computer by using Windows PowerShell?  In Windows PowerShell 3.0, use the Get-CimInstance cmdlet, and select the LastBootUptime property from the Win32_Operatingsystem WMI class: PS C:\> Get-CimInstanc...

Scripting Guy!Windows PowerShellPowerTip
Mar 26, 2013
Post comments count0
Post likes count0

PowerTip: Store PowerShell Credentials

Doctor Scripto

  Summary: Store your Windows PowerShell credentials in a variable for later use.  How can I store alternate credentials for repeated use in my Windows PowerShell session? Use the Get-Credential cmdlet to prompt for a credential, and store the results in a variable: $credential = Get-Credential  

Scripting Guy!Windows PowerShellPowerTip