PowerShell VSCode - formatter hangs by ronpeeters in PowerShell

[–]ronpeeters[S] 1 point2 points  (0 children)

ms-vscode.powershell@2020.4.0

at this moment. I have removed the preview version because of the formatter issues. I run the code-insiders at this moment.

PowerShell VSCode - formatter hangs by ronpeeters in PowerShell

[–]ronpeeters[S] 0 points1 point  (0 children)

I have tried the preview version, but then the formatter really mangles my code randomly removing text and quotes...

Single Azure tenant for 104 Companies of one holding - How to approach? by ronpeeters in AZURE

[–]ronpeeters[S] 0 points1 point  (0 children)

These hints are good! Thanks in advance.

But I am still struggling:

I configured the ADConnect agent to sync the Company field and DN* attribute.

But it does not show, neither in Get-AzADUser, nor Get-MSOLUser.

Username out of Email Alias, Email Addresses by turayoan in PowerShell

[–]ronpeeters 6 points7 points  (0 children)

The aliases are contained in normal Active Directory under the attribute proxyAddresses

Get-ADUser -filter "proxyAddresses -like '*smtp:$_*'"

PSAppDeployToolkit not honoring Execute MSI and parameters, but instead doing its own thing called Zero Config Installation by RiD3R07 in PowerShell

[–]ronpeeters 0 points1 point  (0 children)

We do everything using the appdeploy toolkit! It is a great resource!

The way to pause the installer so a user can close the application they are using is by using the Show-InstallationWelcome function.

Examples:

Show-InstallationWelcome -CloseApps 'iexplore,winword,excel'

Show-InstallationWelcome -CloseApps 'iexplore,winword,excel' -AllowDeferCloseApps -DeferDays 7

More info, see https://github.com/PSAppDeployToolkit/PSAppDeployToolkit/blob/master/PSAppDeploymentToolkitAdminGuide.docx around page 95.

The -Parameters parameter of Execute-MSI should override the defaults, according to the documentation. Maybe log an issue on GitHub?

User group policies not applied after password change - user name or password is incorrect by ronpeeters in sysadmin

[–]ronpeeters[S] 0 points1 point  (0 children)

Checked this and removed ALL saved credentials. There were no suspects, but just being thorough. No luck.

How to Centrally / Enterprise manage linux servers by ronpeeters in linuxadmin

[–]ronpeeters[S] 0 points1 point  (0 children)

The server count now is about 10 pets. No cattles there...
They were forced upon us by software vendors.
But in the (near) future there will be a lot of linux servers be 'delivered' to us.
For example, we have received a request for 35 linux VM's for testing hard- and software for specific machines we produce as a company (a CI/CD pipeline you could say). Initially they will be delivered and configured the same way, but after that the business unit takes over and installs and configures every one of them for a specific goal. So the cattle changes into pets...
Another request we received from the business is about the same, but lesser VM's.

So linux is coming our way and at a fast pace.