Assigning permissions to a volume through the NetApp PowerShell Toolkit

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

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