Category "powershell"

The term 'AzCopy' is not recognized as a name of a cmdlet, function, script file

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

Powershell - windows hard-disk health status is giving inconsistent results

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

How do I get only directories using Get-ChildItem?

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

PowerShell Cannot dot-source this command because it was defined in a different language mode

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

New-ExoPSSession: Index was out of range

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

Creating/Duplicating a Certificate Template with Powershell

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

Creating/Duplicating a Certificate Template with Powershell

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

Creating/Duplicating a Certificate Template with Powershell

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