105 questions with Windows Server | Remote and virtual desktops | PowerShell tags
Please help me fix my computer by reversing a command I entered into the cmd prompt
Hi, I was trying to reset the password requirements on my computer and I tried entering this code " secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose “ and now everything is gone off my computer and the windows icon in…
Windows Server Remote and virtual desktops PowerShell
Powershell Comment Based help not working : get-help : Get-Help could not find
I am trying to implement comment based help in my scripts but randomly some of htem don't work. Here's an excert of one: <# .SYNOPSIS This script will modify permissions ona shared mailbox .DESCRIPTION This script will modify the…
Windows Server Remote and virtual desktops PowerShell
Suddenly Powershell remoting is throwing username and password incorrect.
We are using powershell remoting which is integrated in our .net application. At midnight when we start doing ps remoting it works fine for 15-20 minutes, then it starting throwing username and password incorrect error. We are trying to connect to…
Windows Server Remote and virtual desktops PowerShell
download new powershell win 11 2024
download new powershell win 11 2024
Windows Server Remote and virtual desktops PowerShell
Need help to create custom powershell script for new account creation
Need help to create custom powershell script for new account creation in Active directory (on-prem) to edit custom attributes (custom attributes are : C, CO, Country code, ST, I, Postal code).
Windows Server Remote and virtual desktops PowerShell
Is there a font in PowerShell that when you copy into Notepad the quotes are ready for code format
When I paste code samples from a PowerPoint presentation the double quotes and single quotes seem to be in a font where it's not acceptable in an IDE like Visual Studio but it doesn't tell you that's a problem. Very subtle.
Windows Server Remote and virtual desktops PowerShell
PowerShell - User photo upload
I constantly get this error on PowerShell when trying to upload photo for users - Write-ErrorMessage : A server side error has occurred because of which the operation could not be completed. Please try again after some time. If the problem still…
Windows Server Remote and virtual desktops PowerShell
I need help with powershell
I need help with powershell ***Move from Outlook / Windows / New Outlook for Windows / For home***
Windows Server Remote and virtual desktops PowerShell
Configuring Exploit Protection For Vulnerable Java and OpenSSL Versions
Hello, I was hoping a Microsoft expert could put me on the right direction to implement Exploit Protection for the following issues: Vulnerability exists because ***** installs outdated .jar files. To mitigate, Exploit Protection mitigations in Windows…
Windows Server Remote and virtual desktops PowerShell
Powershell Remote AccessDeny on DomainController
Hi, I have a problem with the WinRM / Powershell Remote connection. On a member server the system is working as expected on the Domain Controller always Enter-PSSession : Connecting to remote server dc01.ad.qsu.abcdefg.de failed with the following error…
Windows Server Remote and virtual desktops PowerShell
PowerShell Event ID 142 WSMan operation CreateShell failed, error code 2150858770
All, I have a Server that suddenly in the last few days isn't accepting PowerShell Sessions or Exchange Management Shell Sessions. This is the error from the PS console: Normal PowerShell: Enter-PSSession cmdlet Enter-PSSession at command pipeline…
Windows Server Remote and virtual desktops PowerShell
Limit-EventLog increases the log size but GUI doesn't reflect change
I've ran this PowerShell command to increase the log size: Limit-EventLog -LogName Security -MaximumSize 1GB Change does get reflected in Get-Eventlog -List command Get-Eventlog -List | Format-List However, the GUI still displays the default 20MB…
Windows Server Remote and virtual desktops PowerShell
help with powershell 5.1 script for copying and moving folders and all their contents
This is the script I wrote: $sources = Read-Host "Enter source folder paths (comma-separated)" $sourceList = $sources -split ',' $destinations = @("E:\DestinationFolder1", "F:\DestinationFolder2", …
Windows Server Remote and virtual desktops PowerShell
DevOps Server 2019 1.2 patch 6 Update error: TypeError: Cannot read properties of undefined (reading 'async')
Hi Everyone, I'm trying to update DevOps Server tasks and AzureFileCopyV1.1.230.0.zip file in the article failing with "error: TypeError: Cannot read properties of undefined (reading 'async')" error any one having this behevior before? The rest…
Windows Server Remote and virtual desktops PowerShell
Replicate ACL
Hi Ian, I have to replicate the ACLs of the parent folder to all the sub-folders contained in it (because there are groups that shouldn't be there - added by mistake-). Promoting inheritance What is the best approach? 1)Get-ACL of the parent folder and…
Windows Server Remote and virtual desktops PowerShell
How can I Automate Enabling few WinRM Services using powershell or Batfile
How can I Automate Enabling below WinRM Services using Powershell or Bat file : Computer configuration -> Administrative Templates -> Windows components -> Windows remote manager (Winrm) -> winrm service (enable the following services to…
Windows Server Remote and virtual desktops PowerShell
How to access printer preferenced during print queue creation with PowerShell
I am working an a printer deployment script to help automate print queue creation. The printer is a ZDesigner GX420t. I can get the port and printer created but I can not find a way to configure the label size. I am trying to set the width and height. I…
Windows Server Remote and virtual desktops PowerShell
New-FsrmQuota
I have to add several new quota by powershell. How can i add/setup partial GB? It seems powershell is be able to add integers numbers only but not partials GB like in the example below New-FsrmQuota -Path "D:\Folder1" -Size 1.48GB
Windows Server Remote and virtual desktops PowerShell
How can I run my powershell script elevated (as admin)? - syntax help needed
The goal is to run a PowerShell script (to be pushed/distributed to target hosts) and through trial and error I've learned it must run in an elevated session. I need to invoke an elevated PowerShell session and run the script inside that. GoogleFu used…
Windows Server Remote and virtual desktops PowerShell
Powershell Crashes/closes upon launch, cannot run scripting
Hi all, tech help/ideas very much welcome. Long-time issue, haven't gotten anywhere. Windows Server 2019 Datacenter (1809 - OS Build 17763.5576), Enterprise environment with 14 physical servers, all same OS. When I launch powershell in this env, the…