I would like to ask for a command that I can be use to deploy a powershell script that will install SNMP features and community string. I already have a powershell script that can be perfectly run manually. * "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -executionpolicy b...
I've been attempting for a number of days to deploy powershell scripts through SCCM. The scripts themselves work fine manually, and I've used PSExec to run them with no issues. But when I run them in a package, they all return Exit Code 1. For instance, my first script is just ...
Have you installed or used WDAC Tools PowerShell Module. It allows you to drill down into failures as well as many other things. I have not gotten completely setup on this method, but the PowerShell module is very useful. It even allows you to decompile policy files(....
2. In the Client Settings section, ensure that the PowerShell Execution Policy is set to Bypass so that the scripts that follow run correctly. 3. Create a CI that checks for free hard drive space by using this Windows PowerShell script: ## Check Free-Disk-Space [Int]$DesiredSpace = "...
The same PowerShell script should work just fine to check for the existence of the WMF 3.0 hotfix on these.Finally! Creating the App-V Client ApplicationNow, you’ll need to create a new Manually specified application using the "Script Installer” deployment type in or...
Create a scheduled task that runs a PowerShell script that removes the unwanted apps at startup. The simplest option is to try to remove the extra apps each time the computer restarts. If the apps aren’t there, the script doesn’t need to do anything. Create...
PowerShell script Bonus Tip : Be a super admin with Windows + OneDrive Consider a situation where an employee is on a work trip and misplaces their device. Normally, people will go into a state of panic in such a situation as they have lost all their necessary ...
This code was developed just as SP1 was released which brings new API support using powershell cmdlets which is something that could be considered for future development. However, the code that follows uses c#.Although this code will run in a Web Site the example provided...
In order to have SCCM do a silent and unattended installation of Office 2016 we need to create a configuration for setup.exe Again fire up your favorite text editor and create a file like this <Configuration><Add OfficeClientEdition="64"><Product ID="ProPlusRetail" PIDKEY="XXXXX-XXXXX-XXXX...
I am currently using the registry to check the IsAMTConfigured key is set to 1. I was told there may be a better way by using ACUConfig System Discovery method via a PowerShell script. Does anyone have a PS script that may accomplish this? Translate...