I'm trying to import an .aspx page to sharepoint with powershell scripts, I've tried a few ways and some work, however I don't understand why when I r ...
I'm trying to import an .aspx page to sharepoint with powershell scripts, I've tried a few ways and some work, however I don't understand why when I r ...
I have the following PowerShell script: I run this through Task Scheduler on specific events, but it never gets out of the loop as it raises the er ...
CSV file has a column with dates in order. Need to check missing dates and add empty rows for them. I am able to get what dates are missing but unable ...
I have two functions, Save Credential to create a .cred file: and Get Credential to retrieve the password: I cannot for the life of me figure ou ...
I want to replace strings like url: `= this.url` with url: $url$ I got quite close with this: with output url: $ url$. But when I remove extra sp ...
I am having trouble publishing a module using Powershell 7.3.x to an internal repository. I can import and use the module just fine on my computer. Wh ...
I'm trying to generate an image based on a 6 char hex code (color code) that's being generated in powershell, but I'm getting an error for System.Stri ...
I'm writing a script to delete Windows user profiles older than 90 days. When running the following command The "LastUseTime" for my workstations ...
How do I call another batch script from within a batch script in powershell. In bash I used to get this done using the CALL keyword. Is there an equiv ...
I'm using powershell 7.x and want to create an array of dates in a week based on the weeknumber. I'm able to generate the array and find the whole wee ...
I was trying to use the return from myPowershellScript.ps1 to use as a variable in my batch file. myPowershellScript.ps1 I was trying to use the F ...
The PowerShell function Invoke-AzOperationalInsightsQuery docs, source allows me to pass arbitrary an KQL string to an App Insights resource. HT l ...
To reproduce a developer powershell bug, follow the steps below: Uninstall Visual Studio 2019 Install Visual Studio 2022 Open Visual Studio 20 ...
I am trying to create a very specific Powershell report script that I can input a server list via CSV or TXT, and have it check a specific folder who' ...
I am using Powershell 7. We have the following PowerShell script that will parse some very large file. I no longer want to use 'Get-Content' as this ...
I am attempting to setup a script where it looks inside a file, retrieves the user description, the username, and the date/time that each of the users ...
I have several txt files distributed in several sub-folders. This is what a file looks like: what I would like to do is to extract only the part af ...
I am trying to create powershell script, which builds three different angular apps one after another. It builds only first app and do nothing after. ...
I've been assigned with a task to make the following script: Check if the account exists If not, create an account Check if an account is part ...
A few days ago Visual Studio Code Powershell terminal started displaying ansi characters in the path. This does not happen for bash or cmd terminal. ...