Posts Tagged ‘default’

Recently trying to install a Module in Powershell gallery on a PC , but came back with an error

PS C:\Windows\system32> Install-Module -Name AsBuiltReport
PackageManagement\Install-Package : No match was found for the specified search criteria and module name
'AsBuiltReport'. Try Get-PSRepository to see all available registered module repositories.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1772 char:21
+ ... $null = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Ex
ception
+ FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

Had a check and No Repos were listed

PS C:\Windows\system32> Get-PSRepository | fl *
WARNING: Unable to find module repositories.

Installed the Default Repos again

PS C:\Windows\system32> Register-PSRepository -Default
PS C:\Windows\system32> Get-PSRepository | fl *


Name : PSGallery
SourceLocation : https://www.powershellgallery.com/api/v2
Trusted : False
Registered : True
InstallationPolicy : Untrusted
PackageManagementProvider : NuGet
PublishLocation : https://www.powershellgallery.com/api/v2/package/
ScriptSourceLocation : https://www.powershellgallery.com/api/v2/items/psscript
ScriptPublishLocation : https://www.powershellgallery.com/api/v2/package/
ProviderOptions : {}Y
GD Star Rating
loading...
GD Star Rating
loading...

When you plug in a fortiextender , it will take the default route by putting its distance as 5

To change this back to secondary , change the Distance of the interface to over the default ( 10) or reduce the primary distance to under 5

GD Star Rating
loading...
GD Star Rating
loading...

You can also use this https://kolbi.cz/blog/2017/10/25/setuserfta-userchoice-hash-defeated-set-file-type-associations-per-user/

 

GPO  Set a default associations configuration file under Computer Configuration > Administrative Templayes > Windows Components > File Explorer

Save the follwing file as an XML and use this

<?xml version="1.0" encoding="UTF-8"?>
<DefaultAssociations>
  <Association Identifier=".acrobatsecuritysettings" ProgId="AcroExch.acrobatsecuritysettings" ApplicationName="Adobe Reader" />
  <Association Identifier=".fdf" ProgId="AcroExch.FDFDoc" ApplicationName="Adobe Reader" />
  <Association Identifier=".oxps" ProgId="Windows.XPSReachViewer" ApplicationName="XPS Viewer" />
  <Association Identifier=".pdf" ProgId="AcroExch.Document.11" ApplicationName="Adobe Reader" />
  <Association Identifier=".pdfxml" ProgId="AcroExch.pdfxml" ApplicationName="Adobe Reader" />
  <Association Identifier=".pdx" ProgId="PDXFileType" ApplicationName="Adobe Reader" />
  <Association Identifier=".xdp" ProgId="AcroExch.XDPDoc" ApplicationName="Adobe Reader" />
  <Association Identifier=".xfdf" ProgId="AcroExch.XFDFDoc" ApplicationName="Adobe Reader" />
  <Association Identifier="acrobat" ProgId="acrobat" ApplicationName="Adobe Reader" />
  <Association Identifier="http" ProgId="IE.HTTP" ApplicationName="Internet Explorer" />
  <Association Identifier="https" ProgId="IE.HTTPS" ApplicationName="Internet Explorer" />
</DefaultAssociations>
GD Star Rating
loading...
GD Star Rating
loading...

pc_2024p_front_closeup_dsc3196_1[1]Recently I setup a DELL n2024p however did not have a usb to serial cable to get console access. I used port scanner to find the IP of the device as default it will use DHCP which took me to the open manage web login. I tried to search and use many default logins however none worked. It seems the only way to get this password is use the console cable to set it!

GD Star Rating
loading...
GD Star Rating
loading...