Subscribe: Comments for 4sysops
http://4sysops.com/comments/feed/
Added By: Feedage Forager Feedage Grade A rated
Language: English
Tags:
admin  comment  configuration  host press  host  menu  powershell  profile  script  session  user  vpn profile  vpn  windows  write host 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Comments for 4sysops

Comments for 4sysops



For SysAdmins and DevOps



Last Build Date: Fri, 19 Jan 2018 01:51:27 +0000

 



Comment on Storage Spaces Direct (S2D) - Part 2: setup and monitoring by Paul Schnackenburg

Fri, 19 Jan 2018 01:51:27 +0000

Hi Damon, I don't have them on hand but I'll be in the lab next week, I'll grab them then and post them here. /Paul



Comment on Search Active Directory with the PowerShell cmdlet Get‑ADComputer by Mike Kanakos

Thu, 18 Jan 2018 20:59:19 +0000

Glad you liked it and thanks for taking the time to leave a note of thanks. If there's a topic that you would like to read about, let me know and I'll see what I can come up with.



Comment on Search Active Directory with the PowerShell cmdlet Get‑ADComputer by Dustin Thompson

Thu, 18 Jan 2018 20:09:20 +0000

Good article. I Look forward to more.



Comment on FAQs for Microsoft Local Administrator Password Solution (LAPS) - Part 1 by Debrah

Thu, 18 Jan 2018 19:36:26 +0000

I am forwarding a question by our Infosec group. The local user account we are using for LAPS, User1, has a setting checked where the password never expires. Can this be unchecked? It is coming up on a report. I am trying to recall the specific settings. Thank you



Comment on Storage Spaces Direct (S2D) - Part 2: setup and monitoring by Damon

Thu, 18 Jan 2018 18:07:58 +0000

I know this post is old, but I do not know how else to contact you. Do you have the part number for the Dell switch and Chelsio adapter you used in this setup.



Comment on How to build an interactive menu with PowerShell by Ayo Dada

Thu, 18 Jan 2018 16:27:54 +0000

Hi Adam, I managed to create an interactive menu, how would I get it to run some get script i have already develop example So I have some individual script that can get a AAD user etc and i want to use an interactive menu to give the user the option example below Write-Host "================ $Title ================" Write-Host "1: Press '1' Get AAD Users." Write-Host "2: Press '2' Get AAD Devices." Write-Host "3: Press '3' Get AAD Devices" Write-Host "Q: Press 'Q' to quit." } do { Show-Menu $input = Read-Host "Please select a task by number Or Q to Quit" switch ($input) { '1' { cls 'You chose option #1' } '2' { cls 'You chose option #2' } '3' { cls 'You chose option #3' } 'q' { return } } pause } until ($input -eq 'q') im getting the menu option but i need to now pass the function to a menu parameter the script at the end of each action to execute my script or do i add a loop. any direction would be helpful  



Comment on Solve the PowerShell multi-hop problem without using CredSSP by Babun

Thu, 18 Jan 2018 10:54:50 +0000

Or at the very least you should maybe discuss the security implications of doing so, and how the exposure might be limited



Comment on Solve the PowerShell multi-hop problem without using CredSSP by Babun

Thu, 18 Jan 2018 10:47:47 +0000

It really sounds like something you're not supposed to do..



Comment on PowerShell versions and their Windows version by Michael Pietroforte

Thu, 18 Jan 2018 04:19:04 +0000

Rick, I no longer update this blog post. The updated version is now in the wiki. Still need to add PowerShell Core, though.



Comment on PowerShell versions and their Windows version by Rick Dexter

Thu, 18 Jan 2018 01:27:26 +0000

Powershell 5 now is out for Win 7, 8, 10, 2012, 2012R2



Comment on Install and deploy the Always On VPN client by Jon

Thu, 18 Jan 2018 00:27:51 +0000

Having some trouble and hope you can point me in the right direction to troubleshoot. I've successfully edited the "MakeProfile.ps1" script with my companies parameters and it has successfully created both the VPN_Profile.ps1 script as well as the VPN_Profile.xml file which look correct. I've then successfully run the script on a few test clients while logged in as a local admin running powershell as an admin and... successfully deployed the script via an SCCM package however under both methods, I never see a VPN profile get created or a VPN adapter created in Network connections. I've searched Windows application, system, etc... logs, not sure where to start troubleshooting. The Microsoft deployment guide provides a powershell command to check for successful creation which seems wrong. Remote Access Always On VPN Deployment Guide for Windows Server 2016 and Windows 10 Get-WmiObject -Namespace root\\cimv2\\mdm\\dmmap -Class MDM_VPNv2_01 I get an error when running the command above from pg 61. When I run this - Get-WmiObject -Namespace root\cimv2\mdm\dmmap -Class MDM_VPNv2_01 I get no return . After running the script manually as admin, teh return is: Always On: ByPassForLocal: DNSSuffix: EDPModeID: InstanceID: %20AlwaysOn%VPN Lockdown: ParentID:./Vendor/MSFT/VPNv2 ProfileXML: RememberCredentials: TrustedNetworkDetection: PSComputerName: "Created Always On VPN Profile." Script Complete Appreciate suggestions/input. Thank you,



Comment on User Profile Disks on Windows 10 by James Rankin

Wed, 17 Jan 2018 17:06:15 +0000

FSLogix would definitely help you get around this issue, but obviously it has a dollar value attached to it :-) Feel free to hit me up if you want more info



Comment on User Profile Disks on Windows 10 by Marc

Wed, 17 Jan 2018 13:28:54 +0000

We have had the same issue on and off since we started, I opened a ticket with Microsoft to get this sorted out.  Out environment is fully patched,  All servers are server 2012 r2.  We are using RDVH servers, Also we are using Microsoft Virtual Desktops.  No Citrix or anything.  All that to say we have been working with Microsoft support to get it fixed and they actually could not help and basically said this is a known issue that only half of their customers experience and it is not high enough on the priority list for the engineers to work on fixing.  Just my thoughts on the matter.  We use a program called SIDDer to help fix the problem with it happens.  This program shows what UPD goes to which Username.  Which greatly reduces the time to fix the issue.   We have about 20 users that experience this issue on a weekly basis.  I am curious if this FSlogic product could help us in our environment.



Comment on Disable Internet Explorer Enhanced Security Configuration (IE ESC) with Group Policy by Norman

Wed, 17 Jan 2018 07:21:08 +0000

This worked man. Thank you really much. Greetings from Germany, Norman



Comment on Increase PowerShell remoting security with two simple techniques by Michael Pietroforte

Wed, 17 Jan 2018 03:08:17 +0000

Session configurations are too complicated for this purpose. If you just want to give your account temporary admin rights to get a certain job done, you don't want to figure out first how to modify the session configuration for this particular job. Session configurations are good if you want to restrict the rights of an admin for a long-term project, not if you quickly need admin rights on a machine. Compare this with the sudo and su command on Linux. If you quickly need root access to do a couple of admin things, you enter su. If you want that a user can run certain administrative commands for a project, you change the sudo configuration.



Comment on Increase PowerShell remoting security with two simple techniques by Derek Luk

Wed, 17 Jan 2018 02:14:56 +0000

PowerShell Just Enough Administration should be a better solution than this method. As long as you are on PowerShell 5.1, you are set. You can limit the session and role access. Role configuration controls what cmdlet the user account can execute. Session configuration controls who has session access.



Comment on How to share Wi-Fi in Windows 8 with Internet connection sharing (ICS) by Tony

Tue, 16 Jan 2018 14:32:41 +0000

Hello Michael: Is there a way to "save" the configuration? The fix works perfect for me but if the laptop is restarted or turned off, the whole process has to be repeated from scratch like it was never done. Thanks for your help.



Comment on Solve the PowerShell multi-hop problem without using CredSSP by amnich

Tue, 16 Jan 2018 09:39:25 +0000

By default only the administrators can use this configuration. So if you as Admin1 create a session configuration with your credentials, let's say Admin2 can also use this configuration and will act under your credentials. You could restrict the usage of your configuration with Set-PSSessionConfiguration only to you, but the other Admin could change it without any problems.  



Comment on IF, ELSE, SWITCH: Conditional statements in PowerShell by Kevin Marquette

Tue, 16 Jan 2018 04:20:31 +0000

I just wrote an in-depth breakdown of the switch statement in PowerShell that your readers may appreciate: https://kevinmarquette.github.io/2018-01-12-Powershell-switch-statement



Comment on Manage Amazon AWS S3 with PowerShell by Josh Rickard

Tue, 16 Jan 2018 00:17:20 +0000

Thank you!