So, I thought that it should be easy enough to A) Export a list of all our Public Folders B) Export a list of all our Public Folders with users who have access
In powershell while converting VM objects to json , ($json = ConvertTo-Json $vm -Compress) i am getting "An item with the same key has already been added" exc
I try the following command from PowerShell (as Administrator) npm install @angular2-material and get the error: Unrecognized token in source text. At line:
How to set the size of Page File on Windows(pagefile.sys) via PowerShell?
This self-answered question tries to address two distinct aspects of dealing with process exit codes in PowerShell: In PowerShell code, how can you query the e
The following works as expected: $values = @( ("a", "b"), ("c", "d") ) foreach($value in $values) { write-host "Value 0 =" $value[0] write-host "Value 1 ="
I want to do some basic validation on a user input in PowerShell to ensure a user can only enter a whole integer and does not enter -7 for example. I am not sur
I have a powershell script to do some batch processing on a bunch of images and I'd like to do some parallel processing. Powershell seems to have some backgrou
I have Powershell version 3,4 and 5 in my environment. When I write below code it continously gave me false, though $CompatiableOS contains output of $OSverions
I need to copy tables from table storage into a different storage account. When attempting to execute AzCopy I'm getting the following exception: The term 'AzC
I am using the below PowerShell script to fetch hard-disk health status of windows machine: Get-PhysicalDisk | Select HealthStatus Issue: For few of the machine
I'm using PowerShell 2.0 and I want to pipe out all the subdirectories of a certain path. The following command outputs all files and directories, but I can't f
I've created a Windows application package using Visual Studio and when I run Add-AppDevPackage.ps1 script I get this error on some computers. Cannot dot-sourc
Im developing a script that connects to Exchange Online Microsoft 365, but when the script executes the cmdlet "Connect-ExchangeOnline", it ends with errors. Th
I want to create a template using powershell but I cannot seem to figure out how to set a Minimum Supported CA for the template. I was never able to figure out
I want to create a template using powershell but I cannot seem to figure out how to set a Minimum Supported CA for the template. I was never able to figure out
I want to create a template using powershell but I cannot seem to figure out how to set a Minimum Supported CA for the template. I was never able to figure out