Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Active IQ Unified Manager Discussions

WFA with PS test-path

braashcj3
Has anyone used PS test-path in WFA to check if a share exists? have the following lines that work perfect outside of WFA in the PS environment but inside of WFA it fails to return the correct value. [String]$Path = "\\server\sharename$\foldername" $retval = Test-Path $Path
5 REPLIES 5

coreywanless

Do you have the 'Netapp WFA Server' Service running as a domain account? If not, you will need to set that up with a domain account. Also, make sure that account has rights to the share.

braashcj3

yes to both of those

coreywanless

What's the error message when the command is ran in WFA?

braashcj3

not an error it just returns the wrong value.  If the folder is actually there, it returns False saying it couldnt find it.

coreywanless

Hmm That is interesting. I would be interested to see if you can log out the whoami command.

 

Get-WFALogger -Info -message ("I am: " + (whoami)) 

Get-WFALogger -Info -message ("I am going to test out: " + $Path) 

Get-WFALogger -Info -message ("Accounts in the ACL:"+(get-acl $path).access.identityreference )

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public