Homepage

Homepage
Homepage 2017-10-31T20:08:01+00:00

PowerShell: How to digitally sign PowerShell scripts

If your environment has high PowerShell security, so only digitally signed scripts can run on the systems? The easy way is to digitally sign your PowerShell scripts, so they are allowed to execute on the systems. This guide does not include instructions, on how to create a certificate or how to distribute them to client computers.  So before you can continue and use the script below, you need to create a certificate and install it on your client/ clients. The script below will add a certificate from your certificate store to a specified PowerShell script. The first line creates a variable that [...]

PowerShell: Run PowerShell script on mutiple remote servers

The script below allows you to run PowerShell script on multiple remote servers at once. INFO: You can customize the script by changing the orange text. The first orange text line can be changed if your text file of servers is placed somewhere else. Replace the second orange text line with the PowerShell Script you want to run against your servers.   The picture below shows, how you format your text file correctly.   Run PowerShell script on multiple remote servers script: $Servers = get-content c:\temp\servers.txt</span> foreach($Server in $Servers) { invoke-Command -ComputerName $Server -ScriptBlock get-service wuauserv | select-object status</span> } [...]

PowerShell: Delete Mutiple SCCM Devices from SCCM

PowerShell is, without doubt, the future of administration in SCCM. Because it's faster and easier to do complicated things or add multiple items into SCCM with PowerShell instead of using the GUI. I'm trying to use PowerShell as much as possible, but it's hard to remember all command's, then you don't use them every day, so I will use this as a reference book. In the future, I will post many PowerShell that I have created or find useful for future purposes. I hope you can find some of the script or information on this site useful in your daily work. [...]

SCCM: Logs and descriptions

SCCM Client Log Files CAS - Content Access Service. Maintains the local package cache. Ccmexec.log - Records activities of the client and the SMS Agent Host service. CertificateMaintenance.log - Maintains certificates for Active Directory directory service and management points. ClientIDManagerStartup.log - Creates and maintains the client GUID. ClientLocation.log - Site assignment tasks. ContentTransferManager.log - Schedules the Background Intelligent Transfer Service (BITS) or the Server Message Block (SMB) to download or to access SMS packages. DataTransferService.log - Records all BITS communication for policy or package access. Execmgr.log - Records advertisements that run. (This) FileBITS.log - Records all SMB package access tasks. [...]

By | October 3rd, 2017|Categories: All Posts, SCCM|Tags: , , , |0 Comments

Recent Comments