Giter VIP home page Giter VIP logo

powershell's People

Contributors

imabdk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

powershell's Issues

New computer - first login

Hey

$items empty at first login on a new (no other users) computer. Script fails. ($items.GetType().IsArray)

Unable to detect if logged in via Windows Hello for Business with Detect-WindowsHelloEnrollment.ps1

If I am enrolled with Windows Hello for Business but I login with Username and Password and then I try and request a certificate using the template that enforces using the Microsoft Passport Key Storage Provider CSP.

Using

Get-Certificate -Template 'WHFB Template' -CertStoreLocation cert:\CurrentUser\My SubjectName 'cn=test'

Then I get a UAC prompt to unlock the TPM using Face / Fingerprint / Pin.

Do you know if there is a way to determine if I have unlocked the TPM / Logged in with Windows Hello for Business in Powershell to prevent the prompt from happening?

desktop-config.json written incomplete due to default depth level of ConvertTo-Json (fix)

Hi!

I noticed desktop-config.json is written incompletely in "userAccounts" section resulting in Teams stuck on splash screen. In my case there are 5 nested levels in this section. But default Depth of ConvertTo-Json is 2.

Fix:
$newContent = $json | ConvertTo-Json -Depth 8

I used 8 just as precautions for future changes in json structure, 5 will work just fine.

Powershell/Install-RSATv1809v1903v1909v2004v20H2.ps1 ampersand (&) error

Script fails to run. Output as follows:

At C:\temp\toast\Install-RSATv1809v1903v1909v2004v20H2.ps1:168 char:21
+                 Sign up
+                     ~
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
quotation marks ("&") to pass it as part of a string.
At C:\temp\toast\Install-RSATv1809v1903v1909v2004v20H2.ps1:195 char:190
+ ... ata-ga-click="(Logged out) Header, go to Features">Features <span cla ...
+                                                                 ~
The '<' operator is reserved for future use.
At C:\temp\toast\Install-RSATv1809v1903v1909v2004v20H2.ps1:195 char:266
+ ... p-link-symbol float-right text-normal text-gray-light pr-3">&rarr;</s ...
+                                                                 ~
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
quotation marks ("&") to pass it as part of a string.
At C:\temp\toast\Install-RSATv1809v1903v1909v2004v20H2.ps1:197 char:159
+ ...  d-block link-gray no-underline f5 Bump-link--hover">Mobile <span cla ...
+                                                                 ~
The '<' operator is reserved for future use.
At C:\temp\toast\Install-RSATv1809v1903v1909v2004v20H2.ps1:197 char:235
+ ... p-link-symbol float-right text-normal text-gray-light pr-3">&rarr;</s ...
+                                                                 ~
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
quotation marks ("&") to pass it as part of a string.
At C:\temp\toast\Install-RSATv1809v1903v1909v2004v20H2.ps1:198 char:170
+ ... d-block link-gray no-underline f5 Bump-link--hover">Actions <span cla ...
+                                                                 ~
The '<' operator is reserved for future use.
At C:\temp\toast\Install-RSATv1809v1903v1909v2004v20H2.ps1:198 char:246
+ ... p-link-symbol float-right text-normal text-gray-light pr-3">&rarr;</s ...
+                                                                 ~
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
quotation marks ("&") to pass it as part of a string.
At C:\temp\toast\Install-RSATv1809v1903v1909v2004v20H2.ps1:199 char:176
+ ... lock link-gray no-underline f5 Bump-link--hover">Codespaces <span cla ...
+                                                                 ~
The '<' operator is reserved for future use.
At C:\temp\toast\Install-RSATv1809v1903v1909v2004v20H2.ps1:199 char:252
+ ... p-link-symbol float-right text-normal text-gray-light pr-3">&rarr;</s ...
+                                                                 ~
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
quotation marks ("&") to pass it as part of a string.
At C:\temp\toast\Install-RSATv1809v1903v1909v2004v20H2.ps1:200 char:172
+ ... -block link-gray no-underline f5 Bump-link--hover">Packages <span cla ...
+                                                                 ~
The '<' operator is reserved for future use.
Not all parse errors were reported.  Correct the reported errors and try again.
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : AmpersandNotAllowed

Update Install-RSATv1809v1903v1909v2004v20H2.ps1 - add check is wuauserv is running

Suggesting to add a check if the wuauserv service is running.
It is not running by default in my org.
Get status around line 155 $wuSvsStatus = (get-service suauserv).Status
Before issuing cmdlet Restart-Service, check if $wuSvsStatusis -eq "Running"
Else Start-Service suauserv

And then in the finalizing of each parameter option, in the same place as the reset of the registry entry ("UseWuServer"), return the service it to it's original state. Running if running, and stopped if stopped.

teams settings powershell - wont detect VDI installation

I am attempting to use your script in a VDI environment and the script throws message:
VERBOSE: Microsoft Teams application not installed

Teams is installed.
Teams was installed using the MSI installer and the "ALLUSER=1" flag which runs Teams in the per-machine installation mode rather than the per-user mode.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.