Showing archive results for 2016

Jan 20, 2016
Post comments count0
Post likes count0

PowerTip: Use PowerShell to return first two lines of file

Doctor Scripto

Summary: Learn how to use Windows PowerShell to return the first two lines of a text file. How can I use Windows PowerShell to easily return the first two lines of a text file? Use the Get-Content cmdlet and specify the TotalCount parameter. In this example, TotalCount is set         ...

Scripting Guy!Windows PowerShellscripting techniques
Jan 19, 2016
Post comments count0
Post likes count0

PowerTip: Find related cmdlet aliases

Doctor Scripto

Summary: Learn how to find aliases related to a series of cmdlets.  How can I find aliases that are related to a series of Windows PowerShell cmdlets, such as processes?  Use the Get-Alias cmdlet and specify a wildcard character for the definition parameter, for example: Get-Alias -Definition "*process"

Jan 19, 2016
Post comments count0
Post likes count0

PowerTip: Find related cmdlet aliases

Doctor Scripto

Summary: Learn how to find aliases related to a series of cmdlets. How can I find aliases that are related to a series of Windows PowerShell cmdlets, such as processes? Use the Get-Alias cmdlet and specify a wildcard character for the definition parameter, for example:Get-Alias -Definition "*process"

Scripting Guy!Windows PowerShellscripting techniques
Jan 18, 2016
Post comments count0
Post likes count0

PowerTip: Find cmdlets and functions related to DSC

Doctor Scripto

Summary: Use Windows PowerShell to find cmdlets and functions related to Desired State Configuration.  How can I use Windows PowerShell to quickly find a list of cmdlets and functions related to            Desired State Configuration (DSC)?  Use the Get-Command cmdlet and specify a noun of *dsc*: Get-Comma...

Jan 18, 2016
Post comments count0
Post likes count0

PowerTip: Find cmdlets and functions related to DSC

Doctor Scripto

Summary: Use Windows PowerShell to find cmdlets and functions related to Desired State Configuration.  How can I use Windows PowerShell to quickly find a list of cmdlets and functions related to            Desired State Configuration (DSC)?  Use the Get-Command cmdlet and specify a noun of *dsc*: Get-Comma...