PowerShell Bible Scripture Function
I've been meaning to put this together for a while and just now got around to doing it.
I've been meaning to put this together for a while and just now got around to doing it.
Today at work we had a need to add users to specific Active Directory groups based on the first letter of the first name.
I put together a PowerShell Script Module some time ago and thought I would make it available for others.
I have a problem at work in which I need to convert a comma separated string into a SQL temp table.
If you have not already, I highly recommend you work on the events for the Scripting Games .
I wanted to use a "using block" found in C# to dispose of objects in PowerShell such as Streams or other object types that require the calling of Dispose.
I found it a little difficult to bring in functions into a session so I thought this would help others with what helps me get the job done.
Today I was working on our automated build process at work, and found myself running a batch file in a console window that I wanted to remain open.
Here are a few quick steps to "undo" the default changes performed by Enable-PSRemoting.