Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

6 total results found

Download Files from a Web URL

Workstations Microsoft Windows

Download a file from the internet to your harddrive using Powershell. Invoke-WebRequest -Uri https://<path-to-internet-file> -OutFile <path-to-local-file>

APP
WindowsPowershell

Install Microsoft Office

Workstations Microsoft Windows

Create a deployment package. If the files are publicly available, you can download from a web URL. Download the setup files according to the deployment config. ./setup-file.exe /download config-file.xml Install the applications according to the deploym...

APP
WindowsPowershell

Get Last Bootup Time

Workstations Microsoft Windows

Get the last bootup time in Windows Powershell. Get-CimInstance -ClassName win32_operatingsystem | select csname, lastbootuptime  

APP
WindowsPowershell

Check For Running Process

Workstations Microsoft Windows

Check for a running process. If the process is not running, start it. #CHECK RUNNING PROCESS $Check = (Get-Service -Name <ServiceName> -ErrorAction SilentlyContinue -ErrorVariable ProcessError) Invoke-Command -ScriptBlock{     if($Check -eq $null) {  W...

APP
WindowsPowershell
INTERFACE
CLI
OS
Windows10/11

Create a Scheduled Task

Workstations Microsoft Windows

To create a scheduled task in Windows Powershell that executes a Powershell Script. CREATE SCHEDULED TASK $action = New-ScheduledTaskAction -Execute "cd C:\path\to\script\location; ./script.ps1" $trigger = New-ScheduledTaskTrigger -At "8:15 pm" -Daily $pri...

APP
WindowsPowershell
INTERFACE
CLI
OS
Windows10/11

Change Drive Letter in Powershell

Workstations Microsoft Windows

Sourceshttps://devblogs.microsoft.com/powershell-community/changing-drive-letters-and-labels-via-powershell/https://chindara.medium.com/windows-10-powershell-to-assign-drive-letters-2dcb840191bb List all the disks. Get-Disk List all partitions for a specifi...

INTERFACE
CLI
APP
WindowsPowershell