
Tips for Writing Cross-Platform PowerShell Code
Feb 14, 2019 · I just spent a month updating one of our PowerShell modules to support Linux and MacOS. I learned a lot that I wanted to share with the community as cross-platform support becomes …
Automating with Jenkins and PowerShell on Windows
Jun 4, 2015 · The below image shows what a Jenkins build looks like. In this basic example, the the build creates a text file on a remote machine by using PowerShell Remoting and the Set-Content …
Read ExpandString from Registry without Expansion
Sep 20, 2017 · Specifically, someone (probably me), or something (probably one of my scripts) has changed the value type of Path in HKLM:\SYSTEM\CurrentControlSet\Control\Session …
Modify a shortcut "Target" field to accept parameters
I am very new to powershell and am trying to modify a shortcut. In my research I have found that this is not possible but recreating the shortcut is a workaround. however I am having dificulty doing this. I …
PowerShell Get-Date.AddDays seems to ignore the following year in ...
Whenever a VM is deployed in our environment using a Template, we have a separate script that edits the Custom Property named "Expire" with a (Get-Date).AddDays (90).
Updating AD proxyaddress field with Powershell, without associated ...
How can i use Powershell to update the proxyaddress attribute? Get/Set-Aduser and Get/Set-User do not have access to the proxyaddress attribute, and set-mailbox command does not work because …
Configure Windows Deployment Services Using PowerShell
Dec 13, 2018 · This time I have a problem when i managed windows deployment services using powerShell I refer to the article Configure Windows Deployment Services Using PowerShell below
Remotely enable PSRemoting - social.technet.microsoft.com
I try this command psexec \\ [computer name] -u [admin account name] -p [admin account password] -h -d powershell.exe "enable-psremoting -force" and got password is incorrect but the password is …
Sharepoint crossdomain request (REST API)
I am using REST API. To resolve cross-domain request I decided to use the SharePoint cross-domain library (SP.RequestExecutor): JavaScript: