StarWind iSCSI SAN
StarWind Native SAN for Hyper-V
 

Powershell command to edit DefaultAccessPolicy?

Pure software-based VM-centric and flash-friendly VM storage (iSCSI, SMB3, NFS, iSER and NVMe over Fabrics) including free version. Same software embedded on StarWind ready nodes.

Moderators: art (staff), anton (staff), Anatoly (staff), Max (staff)

Powershell command to edit DefaultAccessPolicy?

Postby oerknoe » Sun Feb 09, 2020 8:16 pm

Hi,

i created some ACL rules with $server.AddACLRule(), but how can I change the "DefaultAccessPolicy" to "deny"?

Thanks!
oerknoe
 
Posts: 1
Joined: Sun Feb 09, 2020 8:13 pm

Re: Powershell command to edit DefaultAccessPolicy?

Postby Michael (staff) » Thu Feb 13, 2020 5:41 pm

The simplest way would stop StarWind service, edit the corresponding lines in "C:\Program Files\StarWind Software\StarWind\StarWind.cfg" and start the service back.
Code: Select all
  <acltable>
    <DefaultAccessPolicy value="[b]deny[/b]"/>
  </acltable>
Michael (staff)
Staff
 
Posts: 308
Joined: Thu Jul 21, 2016 10:16 am


Return to StarWind Virtual SAN / StarWind Virtual SAN Free / StarWind HyperConverged Appliance / StarWind Storage Appliance

Who is online

Users browsing this forum: No registered users and 10 guests