Data ONTAP Discussions

Powershell toolkit equivalent command to "vserver cifs group-policy show-defined" and "show-applied"

Hello,

I don't have access to the CLI console, and can only use the powershell toolkit to troubleshoot CIFS problems.

 

How can I get the GPO output displayed here:

Displaying information about GPO configurations

 

So what are the equivalent "ontap powershell toolkit commands" to the following cli commands:

vserver cifs group-policy show-defined -vservervserver_name

and

vserver cifs group-policy show-applied -vservervserver_name

 

I can't find any equivalent commands ...

Many thanks for your help.

Kind regards,

Didier

2 REPLIES 2
Highlighted

Re: Powershell toolkit equivalent command to "vserver cifs group-policy show-defined" and

Get-NcGpo -Vserver <vserver_name> 
Get-NcGpoApplied -Vserver <vserver_name>

Re: Powershell toolkit equivalent command to "vserver cifs group-policy show-defined" and

My bad ... everythings fine!

Thanks a lot!

Forums