I need to convert a date in Windows PowerShell to the ISO 8601 format. In Linux/Unix it was no problem with TZ=0 date -d "<random-format>" +%Y-%m-
I've gathered some code from around the web to create Contacts and then Contact groups. However, if I update the contact after creation, the "relation" between
I have a O365 tenant with a bunch of resources (=rooms) in it, e.g. [email protected], and a few users, e.g. [email protected]. The rooms are possible to book for users
I would like to use a WGET command line program under Windows in a powershell script. example : wget https://domain-name/file_01.pdf -o wgetlog.txt Step 1 - E
I am trying to perform an SQL query using Invoke-SqlCmd launching script as inputfile which contains SQLCMD variables, as $(varPROJECTNAME). For example: CREAT
I've got to reconfigure 300 user profiles in the next week or two, changing their outlook from looking at the current exchange server to a new one outside of th
I am trying to locate specific VM's based from IP addresses in PowerCLI. I found this script online Grabbing VM ipaddress via PowerCLI The intial question exp
In a PowerShell window I am executing: Start-Process XXXXX.exe -ArgumentList "some valid arguments" -wait -redirectStandardOutput "D:\\test1.txt" And gettin
I was wondering if its possible to create a powershell script to log into a specific outlook mail box and than add the script to the scheduled task so that no u
I'm having trouble with a Registry Key in Powershell. The key /T/E/S/T gets generated by an unknown process: I then try to overwrite it using: $Path = ".\s
When I enter the command Start-Process powershell -WorkingDirectory "D:\folder" it opens new PowerShell window with D:\folder location set. But when I enter
Is there a script that can log out my disconnected RDP session from any server? This is causing a lot of pain and constant ad account lockouts. Any help would
I am trying to make a range of hex from a000000000-afffffffff, but the values are too large for Int32. Getting error Cannot convert value "687194767360" to type
How can I import multiple vCard VCF contact files into Outlook using Powershell ? My script for create vcf is : # Création d'un fichier.vcf New-I
I am distributing a PowerShell script to my team. The script is to fetch an IP address from the Vsphere client, make an mstsc connection, and log it in a shared
I tried to use the command conda activate It threw me an error: CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. If u
If I want to combine two strings into a file path, I use Join-Path like this: $path = Join-Path C: "Program Files" Write-Host $path That prints "C:\Program F
I am trying to find a solution which will check whether a file is being used by another process. I don't want to read the contents of the file, as on a 7GB docu
With Bash, you have the command : Null command. No effect; the command does nothing. Exit Status: Always succeeds. Example : 'foo' Does PowerShell have
I have a requirement to run a script everyday and automatically update "Chrome Browser" if a new version is released. I am using a PowerShell script that goes l