conf” file that contains the comment part mentioned above. This file will be stored in the variable $My_Conf_File. The following variables will also be used: Setup=C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -sta -WindowStyle Hidden -noprofile -executionpolicy bypass -file %temp%\MyScript.ps1 Note: Remove the setup part below from the.$Temp_Folder > Path to your temp folder.$User_Profile > Path to the current user profile.$Global:User_Desktop > Path to the current user desktop.$Global:Winrar_Folder > Path to your WinRAR folder.$Global:Temp_Conf_file > Temp conf file which will be created to add the commandline. Adds the command line to run the ps1 file you have typed.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |