mirror of
https://gitlab.com/JKANetwork/powerfulcomputermanager.git
synced 2026-12-06 02:58:17 +01:00
BUGFIX client windows
This commit is contained in:
1 parent
98dfc03695
commit
85892918df
3 files changed
+16
-4
No files matched your search
@@ -33,7 +33,7 @@ Note: Cooks start in directory $env:temp (%TEMP%) from SYSTEM user.
|
||||
|----- |------------- |--------------------------------------------------------------------------------------------------------- |
|
||||
| W | CMD | Cmd command. Beware of quotes, because internally is run as cmd /c "" |
|
||||
| W/L | PWCMD | Powershell command, runs using Invoke-Command |
|
||||
| W/L | REPOTOLOCAL | Copy a file from REPO folder configured to local in temp folder. You can copy a file or a folder |
|
||||
| W/L | REPOTOLOCAL | Copy a file from REPO folder configured to local in temp folder. You can copy a file or a folder. Do not put between "" |
|
||||
| W/L | COPY | Copy a file from copied to local (REPOTOLOCAL) to any destiantion. Ex: COPY|filec.cfg;C:\Program\filec.cfg|
|
||||
| W | INSTALLMSI | Installs an MSI file silently (Params /quiet /norestart are put, do not repeat). You can add parameters (Like INSTALLMSI|superapp.msi ADDLOCAL=extension SETASDEFAULT=1) |
|
||||
| W/L | NOERROR | Creates a block of instructions that not captures errors and continues event if fails<br>Example:<br>NOERROR|Try to delete a file that maybe can not exist<br>PWCMD|Remove-Item C:\Windows\loginstall.txt<br>ENDNOERROR|Finish |
|
||||
@@ -64,6 +64,7 @@ Inside of a Cook, you can use a simple IF query:
|
||||
| W/L | IF64BIT | When computer is running a 64 Bit operating system |
|
||||
| W/L | IF32BIT | When computer is running a 32 Bit operating system |
|
||||
| W/L | IFWINDOWS | When computer is running Windows |
|
||||
| W/L | IFCOMPUTERNAME | When computer name is Name |
|
||||
| W/L | IFLINUX | When computer is running Linux |
|
||||
| L | IFBASH | When bash command returns True |
|
||||
| W/L | ELSE | Else of IF... |
|
||||
|
||||
Reference in new issue
Block a user