-
PowerShell Tip – How to set permissions that applies to folder, subfolder and files without iCacls?
It is very simple… $path = ‘C:\Temp’ New-Item -Path $path -ItemType directory $acl = Get-Acl -Path $path $permission = ‘Everyone’, ‘FullControl’, ‘ContainerInherit, ObjectInherit’, ‘None’, ‘Allow’ $rule = New-Object -TypeName System.Security.AccessControl.FileSystemAccessRule -ArgumentList $permission $acl.SetAccessRule($rule) $acl | Set-Acl -Path $path
-
Building Microsoft System Center Cloud – SCVMM 2012 R2 – Configuring Fabric – Storages
Now you can define you storages. For the cloud scenario it is important to have direct management access to you storage devices because in order to have automatic, flexible and scalable environment you have to be able to manage your storage resources from the VMM server using the particular API. In my case I do not…
-
Building Microsoft SQL Server AlwaysOn Failover Cluster Instances – Part 3 – Configure storage and mount points
This article is not part of the System Center Cloud series but we will use the final product to host System Center database instances. Configure storage We somehow need to configure path to the cluster disks where SQL server instances will store the data. We can assign drive letter to each disk or we can assign mount point.…
-
Building guest (virtual) File Server Failover Cluster on Hyper-V host with Windows Server 2012 R2
Install guest (virtual) failover cluster Please continue to the Building guest (virtual) failover cluster series to learn how to create guest cluster from the virtual machines. Prerequisites Cluster: Microsoft Windows Server 2012 R2 Two nodes Failover Clustering Storages Witness disk: One disk on a shared VHD or VHDX virtual disk Cluster disks: One or more disks…
-
Building guest (virtual) Failover Cluster on Hyper-V host with Windows Server 2012 R2 – Part 2 – Install and configure cluster
Prerequisites of Failover Clustering Domain join Join to the domain. PowerShell $domain = ‘ad.contoso.com’ $userName = ‘UserWithPermissionsToAddComputerIntoDomain’ $password = ‘Your-Password’ | ConvertTo-SecureString -AsPlainText -Force $login = ‘{0}\{1}’ -f $domain, $userName $credential = New-Object System.Management.Automation.PSCredential($login, $password) Add-Computer -DomainName $domain -Credential $credential -Restart Configure storage Online all disks on all nodes. Initialize and format disks on one…