Powershell – WMI: Working with Shares – Part 1: Creating a Share with Custom Permissions

Download Script:
Intro:
Last week, i was teaching a Powershell course (MOC6434), when a student asked me, how to create a share with custom permissions via WMI.
I tried to find an answer for him, but could not really find any examples, cmdlets or functions for it.
I found some examples and help in vbscript, so i decided [...]

Powershell Acticvesync wipe

In this Powershell sample (created with ASE) – its possible to create a simple form to let Helpdesk manage Activesync Devices, this is done by finding and wipe/unwipe the device. Feel free to change and clean-up – Try ASE – http://adminscripteditor.com/ – Its a great editor.

 

####################################################################

# Program……….: ASExWipe.ps1                            #

# Author………..: Kåre Rude Andersen [...]

Usefull Powershell Links and Books.

Links:
Microsoft Scripting guys! Forum:
Usually you will get very quick replys and help in there
http://social.technet.microsoft.com/Forums/en/ITCG/threads
Powershell 2.0 and others for All Windows (Windows Management Framework)
http://support.microsoft.com/default.aspx/kb/968929
Working wth ODBC:
http://theessentialexchange.com/blogs/michael/archive/2008/01/07/multi-platform-database-access-with-powershell.aspx
Create Custom Inputbox:
http://www.microsoft.com/technet/scriptcenter/resources/pstips/feb08/pstip0208.mspx
Working with Arrays:
http://powershell.com/cs/blogs/tips/archive/2008/11/19/working-with-arrays.aspx
Change Error Message Colors:
http://www.microsoft.com/technet/scriptcenter/resources/pstips/aug07/pstip0817.mspx
PowerBoots – Interface for creating WPF GUI’s in powershell
http://huddledmasses.org/powerboots-tutorial-walkthrough/
Powershell SDK:
http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-4207-8586-711EBE331CDC&displaylang=en
Free PowerShell Commands for Active Directory
http://www.quest.com/powershell/activeroles-server.aspx
Blog: ADPowershell:
http://blogs.msdn.com/adpowershell/
Outputting Calculated Coloumns in Powershell:
http://powershell.com/cs/blogs/tips/archive/2008/11/21/outputting-calculated-properties.aspx
The Scripting Guys: How does the RemoteSigned [...]