String Theory

Mastering the laws of physics with Windows PowerShell

Browsing Posts tagged PowerShell

[System.Version]

Comments off

This afternoon there was a discussion about determining the version of PowerShell installed on the local system. Each of us had our own answer. Someone mentioned the [System.Version] .Net class. Its a relatively small class that might you might find useful. Lets take the Product Version of the PowerShell executable installed on my Windows 7 [...]

Post Your PowerShell Profile! Posted using ShareThis

I have recently been following the whole Getting Things Done (GTD) methodology created by David Allen. So far it has actually been helping me get organized. One of the things it mentions is to get tasks out of your head and down on “paper”. Otherwise you will be forgetting tasks and wondering what you are [...]

BitWise Operators

1 comment

Today we will take a look at the Bitwise Operators in Windows PowerShell and how you can manipulate them for your needs.  First we will get some insight into the enumeration. Let’s begin by looking at the values for the [System.IO.FileAttributes] enumeration which provides attributes for files and directories. As you can see from the [...]