PowerShell – Telegram
PowerShell
822 subscribers
214 photos
4 videos
1 file
802 links
Task automation and configuration management framework #PowerShell
Download Telegram
Lee Holmes announced a fourth edition of the PowerShell Cookbook!

https://twitter.com/Lee_Holmes/status/1318944878886178817?s=09
Channel photo updated
📌 Sanitize GUID's in documentation with PowerShell.

PS C:\> "0e53b2e7-cd7a-4f0f-a7f2-2f71353d7682" -replace "\w","0"
00000000-0000-0000-0000-000000000000
Example of usage 'FlagsAttribute' in Enum

PS C:\> [Flags()]
>> enum AccessFlags
>> {
>> None = 0
>> Execute = 1
>> Write = 2
>> Read = 4
>> FullAccess = 7
>> }
PS C:\>
PS C:\> [AccessFlags]$access = 'none'
PS C:\> $access = 'Read'
PS C:\> $access
Read
PS C:\> $access = 'Write'
PS C:\> $access
Write
PS C:\> $access = 'Read,Write,Execute'
PS C:\> $access
FullAccess

https://stackoverflow.com/questions/8447/what-does-the-flags-enum-attribute-mean-in-c
📚 pwshop: A PowerShell 101 Workshop

A self paced workshop to teach you the fundamentals of PowerShell and leave you ready to use those fundamentals in the prompt.

https://leanpub.com/c/pwshop
#free
Do we expect this?

#TIL