New answers tagged

1 vote

Piping SSH to wireshark on windows

Piggy backing on @krylon's answer, I was able to use git-bash to run this with the following one-line command: (Based off the answers here: How can I sniff the traffic of remote machine with wireshark?...
bjg222's user avatar
  • 111
1 vote

Exporting and Importing Printer Settings using PowerShell

I found the scripts on Archive.org https://web.archive.org/web/20200318071550/https://gallery.technet.microsoft.com/scriptcenter/Powershell-printer-config-db0465bd Below is the content of the page: ...
RevolveIT's user avatar
0 votes
Accepted

Ubuntu/Orange Pi5 retrieve open tabs on Chromium (kiosk mode) via terminal - Powershell

I think I have the answer again to my own question... AS much as I looked there is no way to gain a quick access to open URL's in Chrome or other web browsers... as could be seen as a security risk. ...
M.Atkinson's user avatar
0 votes

How to implement virtual UNC mapping in a Windows user session?

You could use a group policy which maps the mapping in the session. Or specify it the user attribute in active directory
Turdie's user avatar
  • 2,534
0 votes

Need to add errored system to results in powershell

I found this script on GitHub,especially his try and catch is interesting for you, in handling computers which are not reachable. https://github.com/lazywinadmin/PowerShell/blob/master/TOOL-Get-...
Turdie's user avatar
  • 2,534
0 votes

Test-ComputerSecureChannel - Logon failure: unknown user name or bad password

Try this $cred = Get-Credential Test-ComputerSecureChannel -Credential $cred When running $cred = Get-Credential make sure to enter a domain account that permissions to read computer accounts. Best ...
Turdie's user avatar
  • 2,534
1 vote

Test-ComputerSecureChannel - Logon failure: unknown user name or bad password

Please make sure to remove the computer account from Active Directory. Then rejoin the computer in domain. It will reset the password of the computer account in AD. Please let me know if this helps.
karamkaran's user avatar
1 vote

Using ROBOCOPY to MOVE data around, not copy it

move or move-item Move-Item -Path $source -Destination $source I believe the existence of the move & ren commands is part of the reason why robocopy doesn't move the pointer (robocopy wants to be ...
MaxCreatesCode's user avatar
0 votes
Accepted

MS SQL Server Analysis Server Powershell administrator entitlement

In sqlserver powershell there is a cmdlet Invoke-ASCmd this can run a script.
rismoney's user avatar
  • 113
0 votes

How to export Microsoft 365 group owners from local PowerShell script

Have you tried using the Microsoft Teams module # Install the required module if not already installed Install-Module -Name MicrosoftTeams -Force -AllowClobber # Connect to Microsoft 365 Connect-...
Turdie's user avatar
  • 2,534
0 votes

PowerShell ExecutionPolicy prompt while registry value 'bypass'

The answer was to set the Registry via Set-ItemProperty and not through regedit. As soon as I ran this command Set-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\PowerShell -Name ...
Thomton's user avatar
  • 15

Top 50 recent answers are included