PowerShell for Windows Admins:

Powershell


February 19, 2019  2:30 PM

PowerShell v6.1.3 install problem

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

PowerShell v6.1.3 install problem prevented my from changing the working directory. The introduction of the –WorkingDirectory parameter pwsh.exe has caused problems – usually forcing PowerShell to ignore any directives in your profile to set a working folder. In previous versions this...

February 19, 2019  2:11 PM

PowerShell v6.1.3

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

PowerShell v6.1.3 has been released - https://github.com/PowerShell/PowerShell/releases It primarily fixes the security issues...


February 18, 2019  8:33 AM

Testing the operating system

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Saw a question about testing the operating system and decided that the easiest way was to use the Version property from Win32_OperatingSystem.  By easiest I mean least typing and string testing.  


February 13, 2019  10:34 AM

PowerShell v6 experimental features

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The ability to have PowerShell v6 experimental features surfaced in the PowerShell v6.2 previews. In preview 4 there are two experimental features. PSImplicitRemotingBatching   - Batch implicit remoting proxy commands to improve performance PSUseAbbreviationExpansion   - Allow tab...


January 31, 2019  2:30 PM

To install or not

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

My recent posts about the NTFSsecurity module drew a comment that the cmdlets in the module couldn’t be used because they’re not installed on every server. This raises the question  - to install or not. Windows systems have a huge array of PowerShell cmdlets available: - those from the...


January 31, 2019  8:34 AM

Start-Sleep change

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Start-Sleep change in PowerShell v6.2 preview 4 Start-Sleep has had this syntax Start-Sleep [-Seconds] <int> [<CommonParameters>] Start-Sleep -Milliseconds <int> [<CommonParameters>]   since it was first introduced in PowerShell v1 (I think). You can...


January 31, 2019  5:44 AM

Get-NTFSAcess

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Get-NTFSAcess and Get-NTFSEffectiveAccess are two cmdlets from the NTFSsecurity module.   Get-NTFSAcess retrieves the access rights on a folder or file. You can immediately who has what rights and from where the rights are inherited.   Get-NTFSEffectiveAccess by contrast...


January 30, 2019  11:09 AM

Get-DiskSpace

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

The Get-DiskSpace cmdlet from the NTFSsecurity module is useful in that it gives ready calculated percentages of free and used space: AvailableFreeSpacePercent  : 56.73% AvailableFreeSpaceUnitSize : 270.11 GB ClusterSize                :...


January 29, 2019  1:29 PM

PowerShell Admin Modules

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

My PowerShell Admin Modules that used to be available through codeplex are now available on github - 0 Comments     RSS Feed     Email a friend


January 29, 2019  12:28 PM

Long file paths

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Powershell

Long file paths – greater than 260 characters – have been a pain to deal with in Windows.   There is an argument that you should avoid file paths of that length but sometimes you don’t have any choice – when you inherit a file structure for instance.   The following...


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: