Issues with Web Front End app for background PS scripts with PS remoting inside
Hi, I have issues with Web Front End app (running on IIS) for background PS scripts with PS remoting inside: $session = New-PSSession -ComputerName dcName -ConfigurationName DomainAdmins Invoke-Command -Session $session -ScriptBlock {...} …
hexadecimal value 0x00, is an invalid character. Line 2, position 1
VbrAnswerFile_install.txt Hi Experts, We are running an PowerShell comment in that PowerShell comment we are calling the XML file and trying to install veeam software. I am getting an error like "hexadecimal value 0x00, is an invalid character.…
PowerShell Error:SecurityError: (:) [], PSSecurityException
Hi All, I am using Windows MDT to deploy OS and run 2 PowerShell script to install a software (with registry update) and enable BitLocker per our customization request. Environment: MDT: 6.3.8456.1000 ADK: 10.1.19041.1 Both of…
Changes made to the mail flow in EAC do not take effect immediately
Recently, I have made changes of mail flow in EAC but the rules did not take effect immediately. Sometime, I have to wait 2-3 hours or longer How to speed up to propagate the changes and apply them across the system? Could you provide the solutions on…
Restore OneDrive files in bulk from Preservation Library - Powershell
Is there a way to pull files from the OneDrive Preservation library in bulk? User had two computers and had OneDrive sync'd on both. While in the process of issues they lost their OneDrive files and had cleared the trash. They are all now located in the…
server Error in '/' Application
When logging into our Rock portal this message pop up and we can not access the platform
remover la app xbox por ps
Hi guys. I need to remove the Xbox app completely from Win11, I run in admin mode: get-appxpackage xbox | remove-appxpackage But. It gives an error: This application is part of Windows and cannot be uninstalled individually by each user. An administrator…
Warning PowerShell ID 300
Hi, More than a year after reporting the problem, I continue to receive the same PowerShell warning despite everything working normally and all versions being up to date. Maybe with this new information we can better understand the problem. I know it…
How to get admin local from all computers in domain
How can I do to get all admin local in domain? I tried command below but error $computers = Get-ADComputer -Filter * | Select-Object -ExpandProperty Name foreach ($computer in $computers) { Write-Host "Getting local administrators for computer…
Get-WMIObject Win32_ComputerSystem UserName returns null for RDP user
So I am writing a PowerShell script to pick up some info from domain machines and one of the things that I want to correlate with is logged on user. In theory that is (Get-WmiObject -ComputerName $CompName -ClassName Win32_ComputerSystem).username …
Is there a way to use Powershell to query a computer to retrieve a list of all Intune policies without needing to install a module?
Is there a way to use Powershell to query a computer to retrieve a list of all Intune policies without needing to install a module? Also, is there a way to use Tychon to query intune policy/policy settings from an endpoint?
Powershell refresh desktop screen
Hello. How can I refresh desktop screen with powerhsell? Thanks for help.
Service Fabric - Azure REST API
Hi everyone, I have an Automation Account Runbook and need to remove an application from the Service Fabric Cluster. Since I don’t have a Hybrid Runbook Worker and can’t use the Service Fabric SDK, I decided to try using the Azure REST API and…
Powersehell command invoke-sqlcmd command is looking for an additional parameter TrustServerCertificate=True on Windows 2022 server
Hi there, We heavily use PowerShell scripts to query Microsoft SQL Server databases on Windows 2016 machines using a command invoke-sqlcmd -ServerInstance <servername> -Database <databasename> -Query <Query statement>; While testing…
powershell to get all users and their managers recursively
I am looking to pull all Active Directory users and their managers all the way up to the chain. I get how to do get-aduser -filter * -properties * | select name, manager export-csv -path "csv path" I also get: $Users = Get-ADUser -filter *…
Azure Key Vault - Cannot get the access policies information by Azure PowerShell
Hi All, I’m working on enabling Azure Key Vault backup. I need to gather secrets, keys, certificates, and access policies, then save them to a storage account. However, I’ve encountered an issue where the Azure Key Vault cannot retrieve the access…
IOException error in opening a virtual serial port with Powershell
Hello, I have installed a plug-and-play measurement instrument, with a USB terminal, and it appears as a serial COM port. In windows device manager, COM3 is the only port. with properties / main tab, the status says that the device works properly. I want…
How to simply enable the default version of bitlocker through gpo that doesnt require a password at startup
Hi Folks, I am trying to enable Bitlocker through GPO but want the default version of it without a password required at startup or securing the bitlocker keys. Literally like doing manually. If someone can walk me through which exact GPO policy to…
Powershell script to get the runtime stack version for all my web apps and functions in a subscription
exist a Powershell script to get the runtime stack version for all my web apps and functions in a subscription?
How to Resolve Volume Shadow Copy Service Error - Code 12289 (Event ID: 12289)
Hello everyone, Could anyone help me resolve this issue? I've tried everything, including installing a new Windows Server 2019, but the issue persists. I'm unable to create a shadow copy on drive D, and an error event occurs whenever I try to enable…