I am running into problems updating wofkflow state, as you see I am setting fw file write

Im not getting any errors, but when I check the access, it is still not set to File Write, and I did log out, just in case it isn't dynamically updating.

Anyone else have any luck setting this, and see what I am doing wrong,

#Splat for the criteir for channing WF State access

$WFStateSec = @{

InputFolder = $folder.FullPath

WorkFlowName = "Working (WIP)"

StateName = "Reserved"

MemberType = "g"

MemberName = "CV-CIVIL"

MemberAccess = "fw"


Update-PWFolderSecurity @WFStateSec -Verbose