Create a scheduledjob with Powershell to restart a computer

Create a scheduledjob with Powershell to restart a computer

Register-ScheduledJob -name RestartComputer -ScriptBlock {Restart-Computer -ComputerName localhost -Force} -Trigger (New-JobTrigger -at "3:05pm" -Once) -ScheduledJobOption (New-ScheduledJobOption -RunElevated -WakeToRun) -Credential (Get-Credential)

Lämna ett svar

E-postadressen publiceras inte. Obligatoriska fält är märkta *

SCCM 2012 R2 CU2 is now available

Microsoft has released Cumulative Update 2 for System Center Configuration Manager 2012 R2. It is an optional update (that does not affect the product support lifecycle) that contains fixes for

Powershell GUI SCCM Client Tools

SCCM Client Tools (right now it´s Beta) is Microsoft Powershell tool, the GUI is created with SAPIEN Powershell Studio. Import Computers from SCCM collection and initiate client tasks. Requirements: 1)

Tool – Application Folder Builder 1.0.0.1

I Made a tool again. This time I meet a problem in Application Packaging Project. Where we wanted to collect our applications we packed in one sorted folder place. So