Getting below error while running the script
PS C:\Data\Official\Project\wvd> & '.\Shadow a User.ps1'
Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning
message. Do you want to run C:\Data\Official\Project\wvd\Shadow a User.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): r
At C:\Data\Official\Project\wvd\Shadow a User.ps1:329 char:21
-
<svg class="octicon octicon-sign-out v-align-middle" viewBox= ...
-
Unexpected token 'octicon' in expression or statement.
At C:\Data\Official\Project\wvd\Shadow a User.ps1:404 char:62
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
quotation marks ("&") to pass it as part of a string.
At C:\Data\Official\Project\wvd\Shadow a User.ps1:408 char:18
-
<span class="dropdown-caret"></span>
-
Unexpected token 'dropdown-caret">
Getting below error while running the script
PS C:\Data\Official\Project\wvd> & '.\Shadow a User.ps1'
Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning
message. Do you want to run C:\Data\Official\Project\wvd\Shadow a User.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): r
At C:\Data\Official\Project\wvd\Shadow a User.ps1:329 char:21
Unexpected token 'octicon' in expression or statement.
At C:\Data\Official\Project\wvd\Shadow a User.ps1:404 char:62
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
quotation marks ("&") to pass it as part of a string.
At C:\Data\Official\Project\wvd\Shadow a User.ps1:408 char:18
Unexpected token 'dropdown-caret">