Comments (2)
You should use this module using Windows PowerShell 5.1, not PowerShell 7.x because a lot of the commands within the module are using WMI cmdlets, not the newer CIM cmdlets. The older WMI cmdlets don't work in PS7.
from pendingreboot.
hi, i can confirm the bug only appears in pwsh and not powershell. could you add an error message for when the function is run within pwsh? thanks
from pendingreboot.
Related Issues (11)
- Have you seen this one on your Pending Reboot PSD1 HOT 1
- powershell 64 bit vs powershell x86 return different results HOT 3
- [pwsh_7.1.0] Invoke-WmiMethod is not recognized as a name of a cmdlet HOT 1
- Check CurrentRebootAttempts Registry Key HOT 1
- Credential window popup on PowerShell 2 and 3 HOT 1
- Detecting Reboot Pending From Install/Uninstall-WindowsFeature HOT 2
- UpdateExeVolatile HOT 4
- LCMState
- -Examples
- Switch to CIM cmdlets HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pendingreboot.