how can i enable running scripts is disabled on this system.
npm : File C:\npm.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1 npm init + CategoryInfo …
Windows for business | Windows Server | User experience | PowerShell
WslRegisterDistribution failed with error: 0x80070002 Error: 0x80070002 The system cannot find the file specified.
PS C:\WINDOWS\system32> wsl.exe --install -d Ubuntu-20.04 Installing: Ubuntu 20.04 LTS Ubuntu 20.04 LTS has been installed. Launching Ubuntu 20.04 LTS... Installing, this may take a few minutes... WslRegisterDistribution failed with error:…
Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Client for IT Pros | User experience | Other
Get-Item -LiteralPath: final links versus intermediate reparse points in PowerShell 7.5
I am reviewing a hypothetical Windows FileSystem-provider metadata query using Get-Item -LiteralPath. The documentary baseline is PowerShell v7.5.0, commit 713e77f15f63bae9f23fb02045c7843ad6a8769b. This is not a report of an installed or tested…
Windows for business | Windows Server | User experience | PowerShell
I'm unable to recreate a deleted configuration secret, could anyone please help me?
I cannot recreate a previously deleted secret because the entry is still retained by the system. How can we use PowerShell to identify and remove the obsolete secret entry and restore normal application operation without affecting other credentials?
Windows for business | Windows Server | User experience | PowerShell
Openssl to dkim issue
Hi, Any key has been created to this?
Windows for business | Windows Server | User experience | PowerShell
How to launch Microsoft Edge to a specific Workspace?
How can I launch Microsoft Edge directly to a specific shared Edge Workspace, ie what is the command line switch? Preferably I would like to launch two workspaces at once; more preferably I would like to launch them on to the last desktop region that…
Windows for business | Windows Server | User experience | PowerShell
Microsoft Edge | Microsoft Edge development
Developing and testing features or extensions for Microsoft Edge
How to automate Downloading Message Trace logs on a Daily Basis when the entries are more than 10,000,000 per day.
How to automate Downloading Message Trace logs on a Daily Basis when the entries are more than 10,000,000 per day. When the limit is only 100,000. #AutomateDowloading#MessageTraceLogs
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Windows for business | Windows Server | User experience | PowerShell
Exchange | Other
A powerful email and collaboration platform developed by Microsoft, designed to support enterprise-level communication and productivity. Miscellaneous topics that do not fit into specific categories.
Where are signatures stored for "New Outlook"
I have been writing a PowerShell script that autogenerates user signatures. It currently uses Microsoft Graph and a registered App to pull user information from AzureAD to create 2 .htm files for New and Reply/Forward. 99.9% of our users are using…
Outlook | Windows | Classic Outlook for Windows | For business
Using classic Outlook for Windows in business environments
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Graph
An API that connects multiple Microsoft services, enabling data access and automation across platforms
5.7.57 SMTP in scheduled task
Hello everyone. I’m trying to send an email from a scheduled task but am encountering an error. However, the script runs perfectly fine in an interactive session. I see the same behavior whether I use Send-MailMessage or the Send method of…
Windows for business | Windows Server | User experience | PowerShell
Windows PowerShell 5.1 local hosting — failure outcome during error reporting and synchronous invocation completion
We are assessing a local Windows PowerShell 5.1 hosting design on .NET Framework. The proposal uses one fresh System.Management.Automation.PowerShell instance, one explicitly assigned owned runspace, one script command in local scope and one non-generic…
Windows for business | Windows Server | User experience | PowerShell
Set Powershell v7 as default
I have solarwinds Server & Application Monitor (SAM) where we can make custom powershell to be executed from SAM. I have a script to connect to the azure to get some information and the script is can't work if use old powershell v5 but working…
Windows for business | Windows Server | User experience | PowerShell
Request to certificate with powershell?
Hi. I have AD CS. Is it possible to request a template certificate using Powershell from https://domain.com/certsrv/certrqma.asp ?
Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Server | User experience | PowerShell
PowerSheel. Watch window, open Excel, run macro, close Excel. Caught in Loop
I am a complete beginner with PowerShell and have put together something that works for me but seems to get caught in a loop. I want to monitor a folder and when a new file is placed in the folder I want to open an Excel file and run a macro then save…
Windows for business | Windows Server | User experience | PowerShell
COULD YOU SHow me a sample powershell script to backup a folder with subfolders using 7-zip?
COULD YOU SHow me a sample powershell script to backup a folder with subfolders using 7-zip?
Windows for business | Windows Server | User experience | PowerShell
Unable to connect to Exchange Online Powershell
Hello, I am unable to login to Exchange Online Powershell using the following steps. I am a global admin and the Powershell is opened in elevated mode. I enter the code below Connect-ExchangeOnline -UserPrincipalName <mylogin> Then the login opens…
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Windows for business | Windows Server | User experience | PowerShell
Powershell New-ADUser failing from remote execution
Good morning all! We are using Freshservice to try to automate some of our employee onboarding and are getting some access is denied errors when running. The App is essentially sending the powershell command on behalf of the account we have…
Windows for business | Windows Server | User experience | PowerShell
Use add-appxprovisionedpackage to deploy Microsoft.AAD.BrokerPlugin
How can you use add-appxprovisionedpackage with microsoft.AAD.BrokerPlugin? We have a Citrix Terminal server environment and we are running into the issues where users cannot sign into Office applications because microsoft.AAD.BrokerPlugin is not…
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Windows for business | Windows Server | User experience | PowerShell
Can't remove "missing" drive from storage space
I had recently added a new ssd to replace my old boot drive in my desktop. Added it to my storage pool thinking it would allow me to then clone my old boot drive to it, realized that all the drives spread data across all of them, wasn't able to remove…
Windows for business | Windows Server | User experience | PowerShell
May an app embedding Microsoft.PowerShell.SDK redistribute Microsoft.Management.Infrastructure.Runtime.Win 3.0.0, whose licence forbids distribution while its project and siblings are MIT?
We build a commercial Windows application that hosts PowerShell in-process via Microsoft.PowerShell.SDK (7.5.4, MIT). Publishing self-contained brings Microsoft.Management.Infrastructure.Runtime.Win (3.0.0) into the output, so four of its DLLs end up in…
Windows for business | Windows Server | User experience | PowerShell
how to setup a powershell code
How do I setup a PowerShell script like code that can instantly give me a full list of all the information of by default it should be 24 hours or if i specific more of for example how many times computer was powered on off users logged in all those stuff…