Powershell display current variables ls env: User Path Variables %APPDATA% C:\Users\{username}\AppData\Roaming %HOMEPATH% C:\Users\{username} %LOCALAPPDATA% C:\Users\{username}\AppData\Local %TEMP% C:\Users\{username}\AppData\Local\Temp %TMP% C:\Users\{username}\AppData\Local\Temp %USERNAME% {username} %USERPROFILE% C:\Users\{username} %OneDrive% C:\Users\{username}\OneDrive Program Path Variables %ALLUSERSPROFILE% C:\ProgramData %COMMONPROGRAMFILES% C:\Program Files\Common Files %COMMONPROGRAMFILES(x86)% C:\Program Files (x86)\Common Files %CommonProgramW6432% C:\Program Files\Common Files %PROGRAMDATA% C:\ProgramData %PROGRAMFILES% C:\Program Files %ProgramW6432% C:\Program Files %PROGRAMFILES(X86)% C:\Program Files (x86)
Author: contrib
Update MST File With Orca
Open Orca(https://learn.microsoft.com/en-us/windows/win32/msi/orca-exe) Open the MSI file Drag the MST file into Orca Make changes for the MST To save new MST go to Transform > Generate Transform
Nginx not serving CSS files
In Chrome DEV tools check the Content Type for the css file. If it is not text/css you may have a incomplete Nginx configuration. Check the default Nginx conf file usually in /etc/nginx has the Mimetypes listed as below in the http section: http{ include /etc/nginx/mime.types; sendfile on;} Nginx Docs https://www.nginx.com/resources/wiki/start/topics/examples/full/
Remove Windows Paths from WSL Ubuntu Path
Edit or create the file /etc/wsl.conf and add the lines below [interop]appendWindowsPath = false May need to restart WSL from Powershell to work wslconfig /l to get distribution name wslconfig /t [distribution name] Restart WSL Microsoft docs: https://devblogs.microsoft.com/commandline/automatically-configuring-wsl/ https://learn.microsoft.com/en-us/windows/wsl/wsl-config
Enrol an iOS Device via the Browser
This can be used where Workspace ONE Intelligent Hub is unavailable Navigate to https://<Environment_URL> from the setting in ‘MDM Enrollment URL’ in Groups & Settings > All Settings > System > Advanced > Site URLs. Enter Group ID to enroll your iOS device. Select Next. Enter the enrolment credentials. For agentless enrolment, navigate to Groups & Settings > All Settings > Devices & Users > General > Enrollment and ensure that the Require Intelligent Hub […]
Laravel Sail Credentials Error with WSL
Error When launching ‘Sail up’ error getting credentials – err: exit status 1, out: “ Resolution Delete the config.json file in the home user folder .docker for the WSL user.
Windows GPO CRUD
Create – green icon. Safe option. If this mapping or connection does not exist it will create it, otherwise it will do nothing. Replace – red icon. It will create new objects but also destroy existing ones. Update – yellow icon. Does not remove or destroy any objects. Creates the object if it does not […]