Posts tagged ‘Powershell’

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 [...]