I am having some trouble with creating a scheduled task using PowerShell. The task is to launch Internet Explorer in full screen (iexplore.exe –k). It’s the “-K” parameter to force it fullscreen that is the problem because the task needs to be like this in Actions: “C:Program FilesInternet Exploreriexplore.exe” –k (so -k is outside the […]

My escapes are not working the way I expect

Hey all ​ Any idea why my escape characters are not working? Here is my code: $EnvNum = 7 $Ar = New-Object System.Security.AccessControl.FileSystemAccessRule(“acmeSVCCAE`$EnvNumMgr”,”FullControl”,”ContainerInherit,ObjectInherit”, “None”, “Allow”) ​ ​ It is still printing out as “acmeSVCCAE$EnvNumMgr” where I want it to say SWSVCCAE7Mgr. submitted by /u/Hxcmetal724 [link] [comments]