As part of my work to automate as much as I can, both to reduce time and increase consistency, I was looking for a way to assign permissions to a newly created volume which was providing a CIFS share through our NetApp FAS unit. Normally I would use the Get/Set-Acl cmdlets that are provided through
Continue reading Assigning permissions to a volume through the NetApp PowerShell Toolkit
Month: February 2016
Using Add-Type in a PowerShell script that is run as a Scheduled Task
I like using objects in PowerShell, they make management and scripting easier as your are dealing with named sets of information and not having to find objects in numbered arrays or use dictionaries. That means however that a lot of my scripts start off with a block that looks a little like this: $UserDefinition =
Continue reading Using Add-Type in a PowerShell script that is run as a Scheduled Task
Using Connect-MsolService inside an ASP.net Web Application
I provide a number of useful tools to our 1st and 2nd line teams through a web application – mainly because it is flexible, easy to update and centralised. We are launching Office 365, as a side-by-side service. Not all of our users are entitled to it (through various reasons) so checking whether or not
Continue reading Using Connect-MsolService inside an ASP.net Web Application