UWP re-Add-ProvisionedAppxPackage error 183
hello everyone I developed UWP packages and get 2 version appxupload_Windows10_PreinstallKit package from store like test_UWP_1.0.0.1 and test_UWP_1.0.0.2 and here's dism Provision cmds: test_UWP_1.0.0.1_pre_install.bat dism /online…
PowerShell Filter
Hello, I have powershell script like below output. The result is fine but when i want to filter only showing Type="Vmware Backup" and only to show "Job Name" and "Last Result" columns why i not get the result? Something…
Problème réinstallation et fonctionnement Microsoft Print to PDF on WS2019
Bonjour, Je rencontre un problème lors de la réinstallation de L'imprimante Microsoft Print to PDF sur mes Windows serveurs 2019. J'aimerais refaire l'installe de l'imprimante de 0 mais j'ai plusieurs messages d'erreurs, par exemple, lorsque j'essaye de…
Check Internet Connectivity using Powershell
Hello, I want to make a powershell script to test is the server have internet connectivity or not by doing ICMP to 8.8.8.8 for example and the script will return 1 if get reply and 0 if not get the reply. Anyone know here how to make that script?
Logging the parameters of WMI Methods using WMI-Activity Trace logs
When logging WMI calls and queries via WMI-Activity Trace logs, I can see all the method invocations being logged, but not the method's parameters. As I'm looking to work around certain hardware/driver issues with my laptop, I absolutely must know what…
ports remote request powershell
Hello. I have executed the get-service -computername PC01 command Wireshark showed me that port 135 is used in the first…
Unable to install PS module getting some issue
PS C:\Windows\system32> install-module azuread NuGet provider is required to continue PowerShellGet requires NuGet provider version '2.8.5.201' or newer to interact with NuGet-based repositories. The NuGet provider must be available in 'C:\Program…
Invoke-PnPTenantTemplate is not performing any action.. "Access token acquired"
I have 2 SharePoint Online tenants which both have a modern communication sites. now i used this command to get the source site template:- PS C:\Users\mohan> Connect-PnPOnline -Url "https://ssms.sharepoint.com/sites/PPM-test/"…
Get Last Update Installed
Hello, It's possible to get last update install date using powershell?
Windows update agent api - Access denied on AddScanPackageService
Hi Together Could someone help me in this matter... I am trying to run following script block on remote system to get updates needed and getting access denied on following line: " $UpdateServiceManager.AddScanPackageService("Offline Sync…
Assistance Needed: GPO for DNS Suffix Registration Not Applying
Hello, We are working on creating a Group Policy to automatically enable the option "Use this connection's DNS suffix in DNS registration" when users log in to their domain accounts. We have created the GPO for this setting and tested it on one…
Powershell to reset AAD user password
Dear Experts, Recently, I’m trying to use PowerShell to reset new users' password online. The expected scenario is that the user will be given a one-time password, then login to office.com set up his MFA, and then he’s asked to change a new password. …
Unicode in Console App - C#
Hello, I wrote a program to show UTF-16 emojis in Console App. When I ran the console app in PS from windows terminal, I can see emojis. But If I ran the program in PS without a windows terminal, I can't see it. Please see: …
How do I extract the last part of a url using PowerShell?
I want get the last part of a URL, how do I get this done? How do I extract just 002-122 from this url https://mycompany.sharepoint.com/sites/Asite/002-122 with PowerShell?
Enabling Managed Folder Assistant Error
When trying to start managed folder assistant on a shared mailbox with online archiving enabled, I am getting an error in powershell: The call to Mailbox Assistants Service on server: 'DM6PR07MB4555.namprd07.prod.outlook.com' failed. Error from RPC…
Connect-ExchangeOnline: Write-ErrorMessage : Expired or Invalid pagination request. Default Expiry time is 00:30:00
I wrote a script a while back that gets the the UserPrincipalName, DisplayName, LastLogonTime, CreationTime, Inactive Days, MailboxType, AssignedLicenses, ItemCount, MB Size, and Roles from MSOnline and Exchange Online. It works fine on one server and my…
.exe files are not running in windows docker images
Hey There, I am trying to run the following Dockerfile to containerize the Netduino.exe file and would like to use it as a Gitlab runner. However, the .exe files are running in the following Docker Images. Not only Netduino.exe, other .exe files like…
How can I connect tables on Power BI online
Hello, Is there a way to connect tables in a model I created on power BI online? The tables are on an excel workbook on sharepoint, and the model has been done on on power bi online. Any idea how to make the connection between tables? Thank you!
How can I send Outlook (Microsoft 365) meeting invitations from one email account to multiple email accounts using PowerShell?
I need your help to create a PowerShell script to send invitations to an Outlook (Microsoft 365) meeting from an email account user@domino to multiple email accounts (user1@domino, user2@domino...) through from PowerShell I hope you can help me.
Disable WinRM PowerShell Remoting
Hi All I have a requirement to Disable or Harden PowerShell Remoting and WinRM Services. The impact what i see is one server cannot connect to another server using remote powershell scripts. Please also let me know what possible issues we can come across…